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
305
Error in paging in Group by ultra web grid
posted

Hi,

I am using the ultrawebgrid and using the Outlook group by for grouping the records.

I have n number of groups and each group can have n number of records.

In my grid i implemented the paging logic and I display only 10 records per page.

Also I use the following 2 lines for expanding the column while the page is loaded first time.

Grid.DataBind();

Grid.PerformGroupRows();

Grid.ExpandAll();

I am having the recordset which has the 2,3,4,5,6...etc page datas.

I have done that logic in this event LinkagesGrid_PageIndexChanged and when the above line is executed in perform group rows, my page breaks. I am pasting the error for your reference

System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. Parameter name: index at System.Web.UI.ControlCollection.get_Item(Int32 index) at System.Web.UI.ControlCollection.RemoveAt(Int32 index) at Infragistics.WebUI.UltraWebGrid.RowsCollection.Sort() at Infragistics.WebUI.UltraWebGrid.UltraWebGrid.SortGroupRows(RowsCollection rows) at Infragistics.WebUI.UltraWebGrid.UltraWebGrid.PerformGroupRows() at UserControls_ViewLinkages.LoadData()

Can any one please help? I need the filtering, paging and sorting for the same. can any one please help? its urgent. I am stuck with this.

Thanks for your help.

Thanks

S Nagarajan