Event for when user selects a rating

2 posts, 0 answers
  1. James
    James avatar
    7 posts
    Member since:
    Jan 2016

    Posted 20 Sep 2016 Link to this post

    How does one respond to the user (not a binding or background setting of the rating) setting a rating? I can't find any event that fires ONLY when the user selects a rating and I would have assumed this is a pretty standard requirement.
  2. Petar Marchev
    Petar Marchev avatar
    996 posts

    Posted 21 Sep 2016 Link to this post

    Hi James,

    The RadRating does not expose an event that fits your requirements. Perhaps you can use the MouseLeftButtonUp event as this is what the control uses internally to detect the user click. Another solution could be to use the ValueChanged event and see if the mouse is over a RadRatingItem element (use Mouse.DirectlyOver static property).

    If you need more information I will ask that you provide more details about your scenario, including why you need such functionality. Then we may be able to suggest an even better approach for this.

    Petar Marchev
    Telerik by Progress
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Back to Top