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

GridViewRow allowdrag/allowdrop

2 Answers 129 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Rick Knicely
Top achievements
Rank 1
Rick Knicely asked on 19 Apr 2010, 06:00 PM
I'm experiencing some performance issues when setting the AllowDrag and AllowDrop with the RadGridView.

            <UserControl.Resources>
                <converters:LineBackgroundConverter x:Key="lineBackground"/>
                <Style TargetType="telerik:GridViewRow">
                    <Setter Property="Background" Value="{Binding LineNumber, Converter={StaticResource lineBackground}}" />
                    <Setter Property="telerikDragDrop:RadDragAndDropManager.AllowDrag" Value="True" />
                    <Setter Property="telerikDragDrop:RadDragAndDropManager.AllowDrop" Value="True" />
                </Style>
            </UserControl.Resources>

2 Answers, 1 is accepted

Sort by
0
Milan
Telerik team
answered on 20 Apr 2010, 10:14 AM
Hi Rick Knicely,

Such style should not cause performance issues. Are you certain that removing the style fixes the performance issue?


Kind regards,
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
Rick Knicely
Top achievements
Rank 1
answered on 20 Apr 2010, 02:49 PM
I did validate that performance was better without having the drag/drop attached to the gridRow.  However, the real problem was the auto sizing of the grid. Once I changed that the performance issue went away.

Thank you,
Rick
Tags
GridView
Asked by
Rick Knicely
Top achievements
Rank 1
Answers by
Milan
Telerik team
Rick Knicely
Top achievements
Rank 1
Share this question
or