This problem occurs when beginning edit mode on a cell while the radgridview is grouped by at least one column , and its DataLoadMode is set to Asynchronous. It does not occur in Synchronous mode, which is our current workaround. But the performance drop is noticeable in Synchronous mode...
<UserControl x:Class="SpectrumSL.SilverlightControl1" |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.GridView"> |
<Grid> |
<telerik:RadGridView ItemsSource="{Binding Collection}" ShowGroupPanel="True" DataLoadMode="Asynchronous"/> |
</Grid> |
</UserControl> |
Partial Public Class SilverlightControl1 |
Inherits UserControl |
Private _collection As New ObservableCollection(Of tableitem) |
Public Property Collection() As ObservableCollection(Of tableitem) |
Get |
Return _collection |
End Get |
Set(ByVal value As ObservableCollection(Of tableitem)) |
_collection = value |
End Set |
End Property |
Private Sub SilverlightControl1_Loaded(ByVal sender As Object, ByVal e As System.Windows.RoutedEventArgs) Handles Me.Loaded |
Me.DataContext = Me |
For index = 1 To 3 |
Dim item As New tableitem |
item.Key = index |
item.Value = "group1" |
Collection.Add(item) |
Next |
End Sub |
Public Class tableitem |
Private _key As Integer |
Public Property Key() As Integer |
Get |
Return _key |
End Get |
Set(ByVal value As Integer) |
_key = value |
End Set |
End Property |
Private _value As String |
Public Property Value() As String |
Get |
Return _value |
End Get |
Set(ByVal value As String) |
_value = value |
End Set |
End Property |
End Class |
End Class |