Click here to Skip to main content
15,886,110 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Can we use the validation control in any other control other than TextBox?

Please help....
Posted
Updated 18-Jun-11 0:07am
v3

Yes, you can use the validation control in any other control other than TextBox.
ControlToValidate="your Control ID"

Validating ASP.NET server controls
 
Share this answer
 
v3
Comments
Wonde Tadesse 18-Jun-11 16:05pm    
5+
You can use the validation control on all the input type control.

ASP.NET Validation Controls are used for validating user input (from all the straight HTML input control, HTML server input controls, or Web server input controls) .

Validator Controls in ASP.NET[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900