Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET C#4.0
I have a nested Gridview, in my child Grid Footer template i have a DDL & TextBox and LinkButton.
 
My DDL having material's and i choose the material based on selction and in my textBox i entered Quantity for selected material and click on LinkButton then that details to be added into my ChildGrid DataRow.
 

Now, my question is if i'm select Material and without enter Quantity then i click on Button means i want to show "*" it means mandatory to enter value against to selection...
 
For that i'm using required field validator, but for each and every parent grid row it's showing the required..
 
But my parent grid having 10 rows , when i use required field in each and every row it showing "*", but i want to show only row0 of the parent....
 
Is it possible to fetch the unique value of Requiredfield validator.
If it's possible then please give some suggestion's to achieve this..
 

How to do this can anyone help me to resolve this issue....
Posted 7-Feb-13 23:45pm
N@veen.S1.6K
Edited 8-Feb-13 0:27am
v2

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



Advertise | Privacy | Mobile
Web03 | 2.8.150302.1 | Last Updated 8 Feb 2013
Copyright © CodeProject, 1999-2015
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