Hi, I developed a Grid with these features: oGrid.Browser = UltraWebGrid.BrowserLevel.Xml oGrid.DisplayLayout.LoadOnDemand = UltraWebGrid.LoadOnDemand.Xml oGrid.DisplayLayout.XmlLoadOnDemandType = XmlLoadOnDemandType.Background oGrid.DisplayLayout.Pager.AllowCustomPaging = False oGrid.DisplayLayout.Pager.AllowPaging = false and implemented these method: - InitializeDataSource, where i bind a Dataset to my Grid - InitializeRow, where i write only row index in my response with Response.Write My data source consists of 51 rows. When i run application my page result is: row index:0 row index:1 row index:2 row index:3 .... row index:47 row index:48 row index:49 row index:49 (twice!!!! instead row index 50!) Why row with index 49 appears twice in InitializeRow? this appears when total rows number is greater than PageSize for Paging. If totals rows number is less than PageSize this problem doesn't occur. but i've already disabled paging! George
I'm not sure if it is exactly related, but perhaps check what value you have set for displayLayout.RowsRange...
If you don't want to have to scroll or whatever to load new rows, in the InitalizeDatasource event you could use the following
oGrid.DisplayLayout.RowsRange = dsMyData.TableName.Rows.Count
this would then mean that all the rows will be returned...