Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Recovering Dynamic Column Data
Message
From
06/03/2007 10:28:16
 
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01200838
Message ID:
01201039
Views:
19
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform