The validation controls now (starting with ASP.NET 2.0) allow you to easily set focus on a control in error using SetfocusOnError property...
<asp:RequiredFieldValidator
SetFocusOnError="true"
ErrorMessage="Enter something" ControlToValidate="TextBox1"
runat="server" />
Thursday, December 20, 2007
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment