Click here to Skip to main content
12,550,449 members (45,872 online)
Rate this:
Please Sign up or sign in to vote.
See more: C# 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 22:45pm
Updated 7-Feb-13 23:27pm

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
Web01 | 2.8.161021.1 | Last Updated 8 Feb 2013
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