Bradley Lane
Posted
on Feb 7, 2010
(permalink)
Hi,
I'm trying to find an event for when the increase and decrease buttons (on the sides of the slider) are pressed. I would use the Value Changed Event except it fires too often for my specific purpose. Drag Completed works nicely for the actual slider, just need more control over the buttons.
Thanks,
Brad
Reply
Answer
Tihomir Petkov
Tihomir Petkov
Posted
on Feb 10, 2010
(permalink)
Hello Bradley,
Since it's a Routedevent, you can subscribe to the Click event of the two repeat buttons like this:
mySlider.AddHandler(RepeatButton.ClickEvent, new RoutedEventHandler(slider_Click), true);
The above line will call the r_Click method when the increase/decrease buttons are clicked. Let me know if this works for you.
All the best,
Tihomir Petkov
the Telerik team
Watch a
video on how to optimize your support resource searches and
check out more tips on the blogs.
Follow the status of features or bugs in
PITS and vote for them to affect their priority.
Reply