Hi,
I am using two ultrawebgrids in one page with one grid using initialize datasource and other grid without initialize datasource. I am populating the grid with initialize datasource depends on lstbox change. So after postback the layout of the grid with no initiallize datasource layout changes. I traced the error as because of using browser.xml in grid with initlialize datasource this happens.What is the solution for not changing the layout of the grid , i cant remove browser=browser.xml.
Thanks
Reeta
Hi Reeta,
It looks like you want to use the built-in AJAX functionality of the Grid, right? If yes, then you have to set the Browser property to XML and also the DisplayLayout.LoadOnDemand = XML. The InitializeDataSource event must be handled. I'm not sure if you are using the update panel or not. If yes, then you don't have to set the above properties for the Grid, except handling InitializeDataSource.
From the description, it seems you are populating AJAX enabled grid when a ListBox is changed, which means after a postback. Then how and where you are populating the grid without AJAX enabled? Are you handling Initialize Layout event for the grids or not? If no, then how are where are defining the layouts?
I need more detail description of this issue including the version of software you are using, in order to troubleshoot it. Please provide me all the requested information.