Adding RadRatingItem at runtime

2 posts, 0 answers
  1. Bryan Kowalchuk
    Bryan Kowalchuk avatar
    19 posts
    Member since:
    Dec 2009

    Posted 10 Nov 2010 Link to this post

    I have a RadRating control including in a RadGrid column defined as an ItemTemplate.
    How do I dynamically add the RadRatingItem at runtime?

    I have done this no problem on a single control, but what event can I capture that enables me to add the items to each RadRating created?
  2. Tsvetie
    Admin
    Tsvetie avatar
    1517 posts

    Posted 15 Nov 2010 Link to this post

    Hello Bryan Kowalchuk,
    You can use the ItemDataBound event of RadGrid to add the rating items to the Items collection of the control. Have a look at the following articles, these demonstrate how you can implement the ItemDataBound server-side event:

    Kind regards,
    Tsvetie
    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top