.NET Validation emulate

Example code

<asp:TextBox runat="server" id="textbox" Text="" />
<br />
<asp:RequiredFieldValidator ControlToValidate="textbox" EnableClientScript="True"
     text="Textbox content is empty" runat="server" />
<br />
<osb:SuperButton runat="server" Text="Submit" SkinStyle="amazon" isSubmit="true"
     Validate="return (typeof(Page_ClientValidate) != 'function' || Page_ClientValidate());" />



 
Submit



"I'd just like to thank you for the awesome work that your team has done in creating all of the ASP.NET tools. They are easy to work with and are the best that I have found."

Roy Williams