how stop AppointmentDialogWindow on double click

3 posts, 0 answers
  1. jasy
    jasy avatar
    2 posts
    Member since:
    Aug 2011

    Posted 15 Aug 2011 Link to this post

    Hi ,

    we dont want show AppointmentDialogWindow  on double click  .How can we do  that.

  2. Pete
    Pete avatar
    67 posts
    Member since:
    Sep 2012

    Posted 08 Feb 2012 Link to this post

    We also need to do this. We cannot cancel the dialog from the ShowDialog event handler because we need the dialog to show after a drag-drop operation.

    Is this possible?

  3. Konstantina
    Konstantina avatar
    2332 posts

    Posted 15 Feb 2012 Link to this post

    Hi guys,

    In order to achieve this you need to edit the AppointmentItem's ControlTemplates. Using the AppointmentStyleSelector you have to edit the AppointmentItemHorizontalControlTemplate and AppointmentItemVerticalControlTemplate and remove the MouseBinding for the LeftDoubleClick:

                            <telerik:MouseBinding Gesture="LeftDoubleClick" Command="local:RadScheduleViewCommands.EditAppointment" />

    More information how to use the AppointmentStyleSelector you can find in this help article and in this online demo.

    Hope this information helps.

    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Back to Top