Slow Performance when RadRating Control in ItemTemplate of a List

2 posts, 0 answers
  1. Daniel Grünberger
    Daniel Grünberger avatar
    46 posts
    Member since:
    May 2008

    Posted 23 May 2012 Link to this post



    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">  
    <ColumnDefinition Width="*"/>
    <ColumnDefinition Width="Auto"/>
    <TextBlock Text="{Binding Path=Comment}" Style="{StaticResource PhoneTextNormalStyle}" 
    ="Wrap" />
                    Value="{Binding Path=Rating}"
                    IsReadOnly="True" />

    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...

  2. Kiril Stanoev
    Kiril Stanoev avatar
    1508 posts

    Posted 23 May 2012 Link to this post

    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 >>

  3. DevCraft banner
Back to Top