aspx_professional thread: DataGrid Column Collection and Post back
Where are you doing "DataGrid.Columns.Add(BoundColumn)"? In order to access control AFTER POSTBACK, you need to add server controls in "Page_OnInit()" event handler. If you do it in Page_OnLoad(), you won't be able to access the BoundColumns you add manually.
|





