Home > Not Working > Asp.net Validatorenable Not Working

Asp.net Validatorenable Not Working


If a question is poorly phrased then either ask for clarification, ignore it, or edit the question and fix the problem. isvalidBoolean propertyThis is a property on each client validator indicating whether it is currently valid. EnableClientScript property of Validator control: To configure client side validation only.Disable All validators:Suppose you have to disable all validators of a validation group.Server Side: //To enable/disable all validators of a validation Left by DesperateProgrammer on Apr 06, 2009 10:12 AM # re: Disabling an ASP.Net Validator through Javascript You are too good Left by Umersh on Apr 13, 2009 10:19 AM #

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

Validatorenable Is Not Defined

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

Enable Validation: