Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
3760
WHDG - Grid.Columns and Grid.GridView.Columns not in sync
posted

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.

Parents
No Data
Reply
  • 7566
    posted

    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

Children
No Data