Tuesday, February 16, 2016

ASP.NET Web Forms set default button on page load

In the Page

Protected Sub Page_Load(ByVal sender As ObjectByVal e As System.EventArgsHandles Me.Load
        Main_Form.DefaultButton = "lnkLookUpGuestOrders"
 
    End Sub


Post a Comment