Hello all,
I am changing the datasource and columns collection of the grid during runtime.
It seems after some debugging (comparing the columns collections at the Page.OnPreRender stage) that the GridView.Columns collection and the Grid.Columns collection get out of sync.
How can I ensure that this is not the case?
Due to some server-side column event issues of the grid, the custom columns collection is initialized against the Grid.Columns collection and not the Grid.GridView.Columns collection - as per an Infragistics suggestion.
My environment is as follows:
VS2010
IE9
Widows 7 32 bit.
Infragistics ASP.Net Version 11.2.20112.2086
.Net 4
The grid is located inside a WebTab.
Regards.
HI JJB,
Can you specify how did you update the datasource with some more details.
Also you need to know that once the gridView is created , it will not copy the WHDG columns to itself anymore, so any cganges to theat do not affect the GridView columns collection.
Sincerely,
Georgi Sashev
Developer Support Engineer
Infragistics, Inc.
http://es.infragistics.com/support