Hi!
We're using Infragistics WebGrid in our application.We are binding the WebGrid with a dataset containing 2 tables (master and child table). We want on-demand loading on row expand (+). Currently we've set OnDemandLoading property to 'Automatic' but on expanding the row, a postback is fired. Please suggest how can we achieve the on-demand loading on expanding a row without making a full page postback. Please suggest a solution ASAP.
Thanks & RegardsAnuj
Anuj,
There are two options to achieve this, both of which involve using AJAX functionality.
The first is to use WebGrid's built-in AJAX functionality. To do this, set the grid's Browser property to "Xml" and its DisplayLayout.LoadOnDemand property to "Xml". If you're binding data programmatically (such as with a DataSet), you need to do this in the InitializeDataSource event of the grid.
The other is to continue using "Automatic" load-on-demand, and to place the grid inside either a WebAsyncRefreshPanel (WARP) or UpdatePanel. Either of these controls will change postbacks generated by their child controls into AJAX callbacks.
Vince,
We have a similar problem - Postback with ie 8.
Problem description: We have a grid in web application which was working fine with V6.1 + ie6 & 7. We did an upgrade to V10.1, now the same code works fine with ie6 & 7 whereas it postbacks unnecessarily (on new row addition, row expand etc) with ie 8.
Since our customer start using ie8, We are under presure to find solution for this.
Pl guide us on this. Thanks.