How Handle click event on RadButton

2 posts, 0 answers
  1. gizmo
    gizmo avatar
    2 posts
    Member since:
    Jun 2011

    Posted 31 Oct 2011 Link to this post

    I've a trouble.I want to Handle the click event on RadButton (like in MouseButtonEventArgs ),but I can't find this property in RoutedEventArgs.And if I  trying to implement MouseLeftButtonDown event in codebehind nothing happens, I can't subscribe on this event, bit with Click event all ok. How stop or handle Click event?
  2. Petar Mladenov
    Petar Mladenov avatar
    2991 posts

    Posted 03 Nov 2011 Link to this post

    Hello Gizmo,

     The MouseLeftButtonDown event is handled by default and that is why it does not fire in your case. You have to attach to it via the RadButton.AddHandler method which allows using a handled events.

    Best wishes,
    Petar Mladenov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top