single click to edit appointment

3 posts, 0 answers
  1. Kenneth
    Kenneth avatar
    101 posts
    Member since:
    Apr 2014

    Posted 20 Mar 2015 Link to this post

    Is there a way to detect a click (mouseleftbuttonup) on an appointment rather than the doubleclick?

    AppointmentSelectionChanged is close but can be fired in situations other than a click.

    I don't use the edit dialog but I want to show appointment details on single click.  Currently I am trapping the ShowDialog event which is fired on the double-click of an appointment but I would rather do it on a single click.
  2. Kenneth
    Kenneth avatar
    101 posts
    Member since:
    Apr 2014

    Posted 23 Mar 2015 in reply to Kenneth Link to this post

    I should also say this is in month-view.
  3. DevCraft banner
  4. Rosi
    Admin
    Rosi avatar
    2527 posts

    Posted 24 Mar 2015 Link to this post

    Hi,


    To complete the described task I would suggest you to use the SelectedAppointment property, bind to it and display its details. However I can see that you already explored this option.

    Another option is to edit the AppointmentTemplate and find the code below:

    <telerik:CommandManager.InputBindings>
                            <telerik:InputBindingCollection>
                                <telerik:MouseBinding Gesture="LeftDoubleClick" Command="{StaticResource EditAppointment}" />
                            </telerik:InputBindingCollection>
                        </telerik:CommandManager.InputBindings>


    where you can easily change the Gesture and Command properties.

    For more details how to change the Appointment's template you can read here and here.
Back to Top