Click here to Skip to main content
12,560,241 members (60,802 online)
Rate this:
Please Sign up or sign in to vote.
See more: C#
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,,,,,
Posted 2-Oct-12 2:19am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1


Hi Use the ValidatioGroup.

please have a look on this link[^]

Hope that will help you.

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.161026.1 | Last Updated 2 Oct 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100