Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Finding ID of ASP.NET grid controls
Message
General information
Forum:
ASP.NET
Category:
WebForms
Miscellaneous
Thread ID:
00758496
Message ID:
00758567
Views:
15
Hi Steve,

Check out message #745148 to see how I use the FindControl method to add javascript to a column in the DataGrid. This should provide you with the syntax of how to access the information you need to get at. Hope this helps.

>I have an ASP.NET web datagrid setup to edit some data. I'm trying to setup a save function which needs to reference the text controls in the row. I've tried to use the findcontrol() method, but I cannot find ANYWHERE anything that tells me the name of the column controls. So far my guesses of the datasource and header caption are incorrect.
>
>In vfp it would be as simple as grid.column, but I can see no way to do that in ASP.NET.
>
>TIA~
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform