i have two text boxes which the user should enter one of them
i wanna to use a validator which act exactly like Required Validator ,
as when the user press Submit the red alert written by the controls
any ideas
Thanks in advance
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
there is no built-in Validator that can do that, you will have to build a custom one:
try this:
or you could try using the code behind and use onclick event to validate the textboxes and then return an error inside a span, like this: