Developing a custom-validation in asp.net for specific control and criteria
Posted
by Gaurav
on Stack Overflow
See other posts from Stack Overflow
or by Gaurav
Published on 2010-06-18T11:09:34Z
Indexed on
2010/06/18
11:13 UTC
Read the original article
Hit count: 324
Hello
There is another relevant question asked Validation Check in asp.net
In the same scenario we need a custom validator control which will alert user for any wrong entry. This will work like this :
- Developer will pass the control-name, input-value and format-required
- For instance like for textbox it can be: txtName,txtName.Text, allow-alphabets-only
- The accordingly format if the user input is invalid he/she will be got prompt.
Please suggest the right way to do the smae.
Thanks in advance.
© Stack Overflow or respective owner