The RadRating control is shown with 5 stars ... How can i disable it (using XAML) if DataContext = null ?
Thanks
Kacem
2 Answers, 1 is accepted
0
Accepted
Kiril Stanoev
Telerik team
answered on 02 Sep 2011, 03:38 PM
Hi Kacem,
If the DataContext is null you can set the NumberOfItemsToGenerate="0". This will force RadRating not to show any stars. Let me know if this helps.
Best wishes,
Kiril Stanoev
the Telerik team
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward!
We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>