Click here to Skip to main content
15,892,059 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear All,

I am Making a web application in that there is a one form which consist the Grid dynamically. Also i set the Row code behind.

I apply the Requirefield validator but i want to that it only apply in the first row of the grid. if it click the button "add new row" and not enter any value in the textbox and submit then only first row data should be inserted.

So, how this can i achieve ?

Please help me..........

Thanks and Regards,,,,,
Mitesh
Posted

1 solution

Hi
Hi Use the ValidatioGroup.

please have a look on this link
http://www.codedigest.com/Articles/ASPNET/26_Validation_group_in_ASPNet_20.aspx[^]

Hope that will help you.
 
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