Hello,
We noticed the following problem with the RadGridView:
When you have Excel like filtering enabled, and you click on the filtering icon for a column that has duplicate decimal numbers, the app crashes with a message like this:
"Item has already been added. Key in dictionary: '26.7' Key being added: '26.7'"
Please find attached screenshots with grid of data and error message.
Configuration used:
Rad Controls for Win Forms 2010 Q3; WinXP, .NET 2.0, VB.NET
Here is the code that populates a test grid with data:
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Dim rand As Random = New Random() Dim dt As DataTable = New DataTable() dt.Columns.Add("Pecentage", GetType(Double)) dt.Columns.Add("Price", GetType(Double)) For i As Integer = 1 To 10000 dt.Rows.Add(rand.Next(0, 100) + rand.Next(0, 100) * 0.1, rand.Next(0, 1000000)) Next grdData.DataSource = dt grdData.BestFitColumns()End SubThanks.