This is a migrated thread and some comments may be shown as answers.

Exception when editing in grouped mode, asynchronous

3 Answers 83 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Josh
Top achievements
Rank 1
Josh asked on 08 Jun 2010, 07:13 PM
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 ObjectByVal 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 
 


3 Answers, 1 is accepted

Sort by
0
Milan
Telerik team
answered on 10 Jun 2010, 03:37 PM
Hello Josh,

I wan unable to reproduce this issue. Are you able to reproduce this with our latest internal build?


All the best,
Milan
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Josh
Top achievements
Rank 1
answered on 10 Jun 2010, 05:01 PM
Thanks for your response,
I made a new project, with latest build  2010.1.603.1040, and reproduced the error.  It happened when hitting enter after editing, or clicking another cell, while in grouped mode, and Asynchronous DataLoadMode.  I took a screenshot and I can reproduce this error every time on multiple PCs.
0
Milan
Telerik team
answered on 15 Jun 2010, 02:01 PM

Hello Josh,

We have managed to reproduce the problem and we are currently working on a fix which will be a part of our latest Internal Build this Friday.

Thank you for your cooperation.

I have updated your Telerik points.



All the best,
Milan
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
GridView
Asked by
Josh
Top achievements
Rank 1
Answers by
Milan
Telerik team
Josh
Top achievements
Rank 1
Share this question
or