Hi,We were using an UltraWebGrid version 8.2 in our application, where we were using the grouping feature, and it was working fine. In one of our enhancements we've upgraded to version 9.1. When we group for the first time, we do not get any error. However, on grouping for the second time, we are getting the following error: Infragistics.WebUI.UltraWebGrid.UltraGridLayout.GroupByColumnComparer.Compare(Object x, Object y) at System.Array.BinarySearch(Array array, Int32 index, Int32 length, Object value, IComparer comparer)Hi,We were using an UltraWebGrid version 8.2 in our application, where we were using the grouping feature, and it was working fine. In one of our enhancements we've upgraded to version 9.1. When we group for the first time, we do not get any error. However, on grouping for the second time, we are getting the following error: Infragistics.WebUI.UltraWebGrid.UltraGridLayout.GroupByColumnComparer.Compare(Object x, Object y) at System.Array.BinarySearch(Array array, Int32 index, Int32 length, Object value, IComparer comparer)Kindly help us with the same.Thanks in advance.Regards,RimiThanks in advance.Regards,Rimi
I had the same issue when I migrated from version 8.1 to 10.3.. the above code didn't work.
The above issue was resolved by adding the below line before binding the database.
grid.Reset();
The issue can be solved by the provided suggestion: reseting the columns, rows and bands. UltraWebGrid1.ResetBands();UltraWebGrid1.ResetColumns();UltraWebGrid1.ResetRows(); Most of the clients who experienced this issue were not able to resolve this from the first time because they used UltraWebGrid1.Rows.Clear(); UltraWebGrid1.Columns.Clear(); UltraWebGrid1.Clear(); You needed to comment/remove the above lines becauseby invoking them you force the grid to remove all data from the grid and removes all columns.After these actions , all columns should be added manually and all rows should be filled before DataBind. Please let me know if you need further assistance regarding this.
Hi
Was this ever resolved? It still seems to be an issue in 2010.2.
Hello Rimi,
I am just checking about the progress of this issue.
Let me know if you need any further assistance.
Is it possible to modify the online sample in order to reproduce the issue:
http://samples.infragistics.com/2009.1/WebFeatureBrowser/contents.aspx?showCode=True&t=WebGrid/Presets/Presets.aspx~srcview.aspx?path=../webfeaturebrowservb/WebGrid/Presets/Presets.src~srcview.aspx?path=WebGrid/Presets/Presets.src
I will appreciate if you are able to provide me with small isolated application replicating the behavior too.