Home > Cannot Be > Control Referenced By The Controltovalidate Property Of Requiredfieldvalidator Cannot Be Validated

Control Referenced By The Controltovalidate Property Of Requiredfieldvalidator Cannot Be Validated

Contents

The reason this matters is because, in my testing, I found that for some browsers it was essential that the properties all be defined the same way. OnPreRender(EventArgs) and AddAttributesToRender(HtmlTextWriter) - these methods inject client-side script to perform client-side validation (if the user is visiting with an uplevel browser and the validation control's EnableClientScript property is True (the Reply joepitt91 Member 1 Points 67 Posts Re: Control 'rightsCheckBox' referenced by the ControlToValidate property of 'rightsCheckBoxValid... May 20, 2009 08:33 AM|lavan|LINK Hi you have to specify ur javascript function name in the ClientValidationFunction property. his comment is here

Read on to learn more! Any suggestions? Thanks, Scott Nov 18 '05 #1 Post Reply Share this Question 2 Replies P: n/a Jeffrey Palermo [MCP] Scott, If you have tried the RequiredFieldValidator, you would have seen: Control 'chk' That is, if MustBeChecked is True, the CheckBoxValidator control returns True only if its CheckBox is checked; conversely, if MustBeChecked is False, the CheckBox must be unchecked for the validation control http://stackoverflow.com/questions/2637702/asp-net-custom-validator-error-message-control-referenced-by-the-property-canno

Control Referenced By The Controltovalidate Property Of Requiredfieldvalidator Cannot Be Validated

May 20, 2009 08:28 AM|venkatu2005|LINK