Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Recovering Dynamic Column Data
Message
De
06/03/2007 10:28:16
 
 
À
05/03/2007 15:08:44
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01200838
Message ID:
01201039
Vues:
17
Followup: I found that I was dynamically adding the grid template columns in too late in the Page Life Cycle. Placing the template column(s) creation code in the Page's InitializeComponent() event resolved the issue ... duh. As usual, "Have gun, will shoot foot."

>Hi, Bill,
>
>This is DEFINITELY "ghetto" code.... not sure if it will work for you, but here it is...I'm about to go into a meeting, so if this doesn't work, and no one else has an answer, I'll try again...
>
>
>
>        foreach (GridViewRow oo in this.grdReceivePackage.Rows)
>        {
>            lChecked = ((CheckBox)oo.FindControl("CheckBox1")).Checked;
>            if (lChecked == true)
>            {
>            }
>        }
>
>
>
>
>KG
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform