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

Issues with RadRating Binding value not showing

1 Answer 43 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.
Yong
Top achievements
Rank 1
Yong asked on 16 Mar 2015, 03:13 PM
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>

1 Answer, 1 is accepted

Sort by
0
Rosy Topchiyska
Telerik team
answered on 19 Mar 2015, 10:41 AM
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.

 
Tags
Rating
Asked by
Yong
Top achievements
Rank 1
Answers by
Rosy Topchiyska
Telerik team
Share this question
or