What Happens When? Show: Inherited Protected Print Export (0) Print Export (0) Share IN THIS ARTICLE Is this page helpful? Thanks Mudassar Download Disclaimer: The code samples and API available at www.aspsnippets.com are available absolutely free. Now suppose if you have customized validation on client side, what'll happen on server side? my site
Post your question and get tips & solutions from a community of 418,809 IT Pros & Developers. As a result of this stronger meaning, Visible=false for a validator means that not only does not it not display anything, it is does not function either. If you add a CustomValidator with just a server validation function defined, you will notice that it does not take part in client-side validation.
But I didn't get the code right, and the only forum that discussed this said I had to download some exe files and install a script to get it to work. This is called the post-back sequence: Page and its controls are created based on ASPX file. Most of our end-users are very diligent, and we want to give them the benefit of the doubt that they will fill in the form correctly before we bombard them with Uncaught Referenceerror Validatorenable Is Not Defined Try this instead: ValidatorEnable(document.getElementById("ctl00_Con tentPlaceHolder1_CompareValidator1"), false); or if you know the order of the validators on your page then your can refer to the valdiator by its ordinal number within the