RadRating: Show selected item on another page

4 posts, 0 answers
  1. Indy
    Indy  avatar
    5 posts
    Member since:
    Nov 2012

    Posted 11 Nov 2016 Link to this post

    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

     


  2. Indy
    Indy  avatar
    5 posts
    Member since:
    Nov 2012

    Posted 11 Nov 2016 in reply to Indy Link to this post

    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
  3. Niko
    Admin
    Niko avatar
    404 posts

    Posted 15 Nov 2016 Link to this post

    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.
  4. Indy
    Indy  avatar
    5 posts
    Member since:
    Nov 2012

    Posted 15 Nov 2016 in reply to Niko Link to this post

    Superb that worked a treat - thank you!
Back to Top