This is a migrated thread and some comments may be shown as answers.

Adding RadRatingItem at runtime

1 Answer 41 Views
Rating
This is a migrated thread and some comments may be shown as answers.
Bryan Kowalchuk
Top achievements
Rank 1
Bryan Kowalchuk asked on 10 Nov 2010, 09:53 PM
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?

1 Answer, 1 is accepted

Sort by
0
Tsvetie
Telerik team
answered on 15 Nov 2010, 02:30 PM
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
Tags
Rating
Asked by
Bryan Kowalchuk
Top achievements
Rank 1
Answers by
Tsvetie
Telerik team
Share this question
or