I am trying to use the example code for the bar rating, however how do I set the value? I have a progress value which will be between 0 and 100 in steps of 5. I want to bind this value to the bat to show the progress.
3 Answers, 1 is accepted
answered on 11 Nov 2010, 02:13 PM
The value of the rating control is based on the number of items that it contains. So if you want the exactly same bar rating with 5 items and you want to have a progress from 0 to 100 in steps of 5, you need to increment the value for the rating with 0.25 for each step, so finally you will get 5x20 = 100 -> 0.25x20 = 5. If you need more help on this feel free to ask.
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items