Setting the default focus for a page can be done using the defaultFocus attribute:
<form defaultFocus="TextBox1" runat="server" >
Programmatic support for validating groups:
- Page.SetFocus(control)
- Page.SetFocus("ClientID")
- txtName.Focus()
<form defaultFocus="TextBox1" runat="server" >
0 comments:
Post a Comment