Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Finding ID of ASP.NET grid controls
Message
Information générale
Forum:
ASP.NET
Catégorie:
WebForms
Divers
Thread ID:
00758496
Message ID:
00758567
Vues:
20
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform