Home All Groups Group Topic Archive Search About
Author
10 Jun 2005 4:29 PM
Paperback Writer
Hi, how can i disable a required validator in javascript ? is there a way
?....


Author
10 Jun 2005 6:02 PM
darrel
> Hi, how can i disable a required validator in javascript ? is there a way

Delete it?

-Darrel
Are all your drivers up to date? click for free checkup

Author
10 Jun 2005 6:32 PM
Aaron Corcoran
Paperback,

Could you be a bit more specific in your request?  Are you trying to
simply disable the client-side portion of the validator?  If so, simply
set the 'EnableClientScript' property of the validator to false.

Or are you trying to bypass the validation in some instances?  In this
case, various controls that cause postbacks have a property entitled
'CausesValidation'.  Simply set this to false and any time those
controls are called, the validators will not be fired.

I think we might need a bit more information to better inform you, as
the above recommendations are simply guesses.

Thanks,
Aaron
Author
10 Jun 2005 8:31 PM
Brock Allen
> Hi, how can i disable a required validator in javascript ? is there a
> way ?....

You can set EnableClientScript=false in the validation control to disable
the client side javascript, but server side validation will still execute.

-Brock
DevelopMentor
http://staff.develop.com/ballen

Bookmark and Share