Thanks for your help JohnH.
In fact I make already Post after having defines the columns…
When I apply the ViewState method to the datagrid, I have an error: the
object cannot be serializable.
I will correct that but when I will recover my datagrid customer,
how to make for concerver the column with checkbox (with their values) ?
Reg
"JohnH" wrote:
Ah, I see. In order for the the "magic" ViewState reconstructor to
work, the BoundColumn definitions must have been added to the DataGrid
before the ViewState is processed, and the ViewState processor has to
be able to find them (the BoundColumns) by ID. So:
1. Add the BoundColumns to the DataGrid in the Page.OnInit method; and
2. Make sure you set the ID of each control in the columns.
HTH,
John H.