Multiple SelectedImageURL Settings

2 posts, 0 answers
  1. Jeff
    Jeff avatar
    1 posts
    Member since:
    Dec 2014

    Posted 23 Dec 2014 Link to this post

    Hi, all.

    I have a question regarding the behavior of the RadRating control.  I have a dynamically-created RadPanelBar that grabs its header text from a SQL server and then passes that to an ITemplate to create the custom header control.  Certain items from our database will also have a rating in the header as well.

    For the rating itself, have a custom image URL for each rating item (a star with a different letter, depending on the index of the item being created).  It's been decided that showing the star/letter icons for each selected item will make the page look too busy when there are several high-rated items.

    So here's the question: is it possible for a rating to have multiple SelectedImageUrl properties for a rated item?  For example, if the rating is 4 stars, can the control be set to show 3 filled stars and have the 4th be the star with the letter in it?
  2. Ianko
    Ianko avatar
    1764 posts

    Posted 26 Dec 2014 Link to this post

    Hello Jeff,

    Yes, you can. Although, you should note that it is recommended to customize the appearance of all rating items. You can examine an example on the matter in the Items Collection demo.


    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.

Back to Top