|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Disabling ValidatorHi, how can i disable a required validator in javascript ? is there a way
?.... > Hi, how can i disable a required validator in javascript ? is there a way Delete it?-Darrel 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 > Hi, how can i disable a required validator in javascript ? is there a You can set EnableClientScript=false in the validation control to disable > way ?.... the client side javascript, but server side validation will still execute. -Brock DevelopMentor http://staff.develop.com/ballen
Other interesting topics
Authentication mode in web.config causing crash.
Do i loose the power of asp.net if i use a custom extension (not .aspx) with IHttpHandlerFactory what is Request.ServerVariables how to make VS auto suggest properties during dev Dynamically position custom control .ascx Message Box in ASP Dataview returns 0 rows Newbie on Session State Unable to map the debug start page URL to a machine name User Controls in 2.0 |
|||||||||||||||||||||||