Click here to Skip to main content
13,410,621 members (32,856 online)
Rate this:
 
Please Sign up or sign in to vote.
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 2-Oct-12 3:19am

1 solution

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

Solution 1

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.
  Permalink  

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 |
Web02 | 2.8.180221.1 | Last Updated 2 Oct 2012
Copyright © CodeProject, 1999-2018
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