Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GridView data from nonVisible cols
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
ASP.NET
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01376604
Message ID:
01377131
Vues:
21
>The only real "trick" to getting the value is to use FindControl on the row of the grid to get a reference to the hidden control:
>
>
>HiddenField hidden = gdrow.FindControl("txtHidden") as HiddenField;
>
>if (hidden != null)
>{
>   // Access hidden.Text to retrieve value from control
>}
>
Well my trick was to just grab two elements off the grRow's .Text and use that as points to query for. Will work for now.


Thanks for the heads up on this, next wonder grid I'll give it a whirl.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform