Issues with RadRating Binding value not showing

2 posts, 0 answers
  1. Yong
    Yong avatar
    1 posts
    Member since:
    May 2014

    Posted 16 Mar 2015 Link to this post

    Hi all,

    I am having issues with the RadRating Controls with binding value. It's working fine when i set the value on xaml eg: Value="3". But when i bind it, it's not working.
    Here's my code for binding.

    <telerikInput:RadRating IsHitTestVisible="False"  Value="{Binding UserRating}" AutoGeneratedItemsCount="5">
                            <telerikInput:RadRating.FilledIconContentTemplate>
                                <DataTemplate>
                                    <SymbolIcon Symbol="SolidStar" Foreground="#FF5CBE02" Margin="0,3,0,0" />
                                </DataTemplate>
                            </telerikInput:RadRating.FilledIconContentTemplate>
                        </telerikInput:RadRating>
  2. Rosy Topchiyska
    Admin
    Rosy Topchiyska avatar
    551 posts

    Posted 19 Mar 2015 Link to this post

    Hello Yong,

    Thank you for contacting us.

    I have attached a sample project that demonstrates how to bind the Value property of a RadRating control to a property of a view model. Please, note that the view model class should implement the INotifyPropertyChanged interface. Please, take a look at the sample and let us know if you have further questions.

    Regards,
    Rosy Topchiyska
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top