Click here to Skip to main content
15,910,471 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have a grid with a textbox and dropdown template fields and I have a required field validator for each. The gridview contains 15 rows.

How can I make the validation appear when the save button is clicked, just for some specific rows and not for all rows?

Any Solutions.
Posted
Updated 25-Mar-11 3:21am
v2

Hey i'm giving an initial idea, you should expand it

RequiredFieldValidator1.ControlToValidate = "GridView1.Rows[0].Cells";
 
Share this answer
 
 
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