Event for when user selects a rating

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

    Posted 20 Sep 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
    Admin
    Petar Marchev avatar
    968 posts

    Posted 21 Sep 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.

    Regards,
    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.
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top