Roman
You can use the ASP.net custom validator to provide both the client and server methods for validation. Thus, if you disable js, you should still click on the server verification method. In this example, the "ClientValidate" function will be defined in the javascript block on your page, and the "ServerValidate" function will exist in your codebehind file.
<asp:textbox id="textbox1" runat="server"> <asp:CustomValidator id="valCustom" runat="server" ControlToValidate="textbox1" ClientValidationFunction="ClientValidate" OnServerValidate="ServerValidate" ErrorMessage="*This box is not valid" dispaly="dynamic">* </asp:CustomValidator>
Tj kellie
source share