Click here to Skip to main content
15,893,487 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to validate user control using validation group in asp.net.
User control is use inside datalist control thats why i dont able to apply validation on user control.If you have any solution then please give me.
Thanks
Posted
Updated 27-Sep-11 5:13am
v2

Hi,

What type of user control you are using .And What controls used in that user control

validation means we can check property values and their range right.

In this case use javascript validations If you know webcontrol which is used in that usercontrol.

otherwise we can not validate usercontrol.

All the Best
 
Share this answer
 
the controls which you want to associate in same group just only require to set
use
Validation Group property of the controls

same Validation Group name for the controls your problem has been solved...
 
Share this answer
 

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