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

Speed in a Grid.

1 Answer 51 Views
Rating
This is a migrated thread and some comments may be shown as answers.
Bryan
Top achievements
Rank 1
Bryan asked on 12 Oct 2010, 11:02 PM

I put this control on a grid and it dramatically reduces the rendering speed of the grid.  It takes noticeably longer to scroll down.

Am I doing something wrong?

Here is what I have added to the Grid.

<telerik:GridViewDataColumn  DataMemberBinding="{Binding Path=Rating}" Header="Rating" MinWidth="60" Width="SizeToCells">
                       <telerik:GridViewColumn.CellTemplate>
                          <DataTemplate>
                             <telerikInput:RadRating Name="_leadRating"  Value="{Binding Path=Rating,Mode=TwoWay}" UseLayoutRounding="True">
                                <i:Interaction.Triggers>
                                   <i:EventTrigger EventName="ValueChanged">
                                      <cmd:EventToCommand Command="{Binding Path=DataContext.ChangeRatingCommand, RelativeSource={RelativeSource FindAncestor, AncestorType=UserControl, AncestorLevel=1}}" CommandParameter="{Binding}" />
                                   </i:EventTrigger>
                                </i:Interaction.Triggers>
                             </telerikInput:RadRating>
                          </DataTemplate>
                       </telerik:GridViewColumn.CellTemplate>
                    </telerik:GridViewDataColumn>

 

1 Answer, 1 is accepted

Sort by
0
Viktor Tsvetkov
Telerik team
answered on 14 Oct 2010, 08:54 AM
Hi Bryan,

I tried to reproduce your problem, but with no luck. Could you please send me your sample project, so I will be able to better assist you?

Kind regards,
Viktor Tsvetkov
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
Rating
Asked by
Bryan
Top achievements
Rank 1
Answers by
Viktor Tsvetkov
Telerik team
Share this question
or