Set value of 0

2 posts, 0 answers
  1. Håkan
    Håkan avatar
    183 posts
    Member since:
    May 2011

    Posted 19 Jan 2012 Link to this post

    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
  2. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 24 Jan 2012 Link to this post

    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 >>

  3. DevCraft banner
Back to Top