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

Event for when user selects a rating

1 Answer 10 Views
Rating
This is a migrated thread and some comments may be shown as answers.
James
Top achievements
Rank 1
James asked on 20 Sep 2016, 12:26 PM
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.

1 Answer, 1 is accepted

Sort by
0
Petar Marchev
Telerik team
answered on 21 Sep 2016, 07:59 AM
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.
Tags
Rating
Asked by
James
Top achievements
Rank 1
Answers by
Petar Marchev
Telerik team
Share this question
or