Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GridView data from nonVisible cols
Message
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
ASP.NET
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01376604
Message ID:
01377131
Views:
17
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform