This is a migrated thread and some comments may be shown as answers.
Set value of 0
1 Answer 9 Views
This is a migrated thread and some comments may be shown as answers.
Håkan
Top achievements
Rank 1
Håkan asked on 19 Jan 2012, 11:56 AM
Hi!

In the rating control, how do I set a value of zero, no stars, as a user I mean, not in code behind.

Regards,
Håkan

1 Answer, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 24 Jan 2012, 08:39 AM
Hi Håkan ,

 This cannot be achieved "out of the box" in the RadRating or in the Rating from the Silverlight's Toolkit. What comes up to my mind is that you can use precision, bind the Value of the RadRating to a value in your viewmodel and adjust the value in the Seter of the property , for example when you set value lower than 0.25 , the ViewModel sets it to 0. Is this suitable for you ?

Greetings,
Petar Mladenov
the Telerik team

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

Asked by
Håkan
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Share this question
or