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

RadRating: Show selected item on another page

3 Answers 18 Views
Rating
This is a migrated thread and some comments may be shown as answers.
Indy
Top achievements
Rank 1
Indy asked on 11 Nov 2016, 10:44 AM

Hi

I am using the RadRating list control.  Once the user has entered there data - I would like to show what they have chosen on the next page.  The value they have chosen is storing just fine.  But when they are on the next page I want to show the rating they choose.  I thought the RadRating1.SelectedItem.Value might do the trick but this does not set the item that has been selected.

Any ideas how I show the item they selected on another page - but using the same RadRating control

Thanks in advance

 


3 Answers, 1 is accepted

Sort by
0
Indy
Top achievements
Rank 1
answered on 11 Nov 2016, 03:16 PM
Just a bit more info - in case above is vague.  I was hoping there would be a property such as SelectedItem(2).Selected = 2

Which would make the 3rd star as ON - using ImageOn picture
0
Niko
Telerik team
answered on 15 Nov 2016, 11:37 AM

Hello Indy,

To set the value of the RadRating control on the server-side you should use the Value property. Please, check the overview demo of the control. There each rating control has Value set to 3.

Hope this helps.

Regards,
Niko
Telerik by Progress
Check out the new UI for ASP.NET Core, the most complete UI suite for ASP.NET Core development on the market, with 60+ tried-and-tested widgets, based on Kendo UI.
0
Indy
Top achievements
Rank 1
answered on 15 Nov 2016, 01:15 PM
Superb that worked a treat - thank you!
Tags
Rating
Asked by
Indy
Top achievements
Rank 1
Answers by
Indy
Top achievements
Rank 1
Niko
Telerik team
Share this question
or