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

Slow Performance when RadRating Control in ItemTemplate of a List

1 Answer 54 Views
Rating
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Daniel Knoll
Top achievements
Rank 1
Daniel Knoll asked on 23 May 2012, 09:18 AM

Hi!

 

I have a RadDataBoundListBox wich contains  a list of ratings (comment text + rating in stars (1-5)). So my ItemTemplate contains only a TextBlock and a RadRatingControl:

<DataTemplate x:Key="EventRatingDataTemplate">    
<Grid Margin="0 12 0 0">  
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>         
<TextBlock Text="{Binding Path=Comment}" Style="{StaticResource PhoneTextNormalStyle}" 
TextWrapping
="Wrap" />
<telerikInput:RadRating 
Grid.Column="1"
                ItemShapeStyle="Stars1"            
                Value="{Binding Path=Rating}"
IsEnabled
="False"                                   
   ItemShapeWidth="15"
ItemShapeHeight="15"
RatingDisplayPrecision
="Item"  
  IsPanEnabled="False"      
                IsReadOnly="True" />
  </Grid>     
</DataTemplate>

   
But the performance of rendering the the list (Initial binding to an ItemsSource collection with eg. more than 10 items) is very poor.
The larger the size of the ItemsSource collection, the longer it takes to render the list. (It takes several seconds to render the list while the UI blocks).

How can I improve the performance of the list?

Kind regards...

1 Answer, 1 is accepted

Sort by
0
Kiril Stanoev
Telerik team
answered on 23 May 2012, 11:35 AM
Hi David,

Thank you for contacting us. I can confirm that there is a certain delay when loading the items initially. Unfortunately, for the moment we are not aware of an existing workaround. I've logged this issue in our back log and we will do our best to fix it as soon as possible. 

All the best,
Kiril Stanoev
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
Rating
Asked by
Daniel Knoll
Top achievements
Rank 1
Answers by
Kiril Stanoev
Telerik team
Share this question
or