Detecting mouse click on navigationheader buttons

2 posts, 0 answers
  1. Alain
    Alain avatar
    239 posts
    Member since:
    Aug 2013

    Posted 02 Nov 2015 Link to this post



    I would like to know how I can detect any mouse click on any navigation buttons in the NavigationHeader.




  2. Nasko
    Nasko avatar
    556 posts

    Posted 03 Nov 2015 Link to this post

    Hello Alain,

    The Buttons from the NavigationHeader are placed inside the default Template of RadScheduleView. So, in order to subscribe to their Click events you need to extract that default Template. We could also suggest you to consider using the EventToCommandBehavior in order to bind the events to a commands inside the ViewModel.

    We have created a sample project that demonstrates how to handle the MouseDown event of the DatePicker from the NavigationHeader. Could you please, check it and let us know if it worked for you?

    Hope this helps.

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. DevCraft banner
Back to Top