Disable Appointment Pop-up

5 posts, 0 answers
  1. Rosco
    Rosco avatar
    32 posts
    Member since:
    Oct 2008

    Posted 27 Sep 2011 Link to this post

    Hi,

    I want to add custom logic when an Appointment is double-clicked. Basically, it needs to pop open a record from a third-party application (which is currently working). However, I don't want the Appointment to pop up at all both for the creation and update of Appointments on the calendar. How can I achieve this?
  2. Naresh
    Naresh avatar
    2 posts
    Member since:
    Jul 2010

    Posted 27 Sep 2011 Link to this post

    you can cancel the event

     
    //create popup
      private void RotaScheduleView_AppointmentCreating(object sender, AppointmentCreatingEventArgs e)
            {
      //Your logic here
       e.Cancel = true;
                              }
      
    //editing
      
      private void RotaScheduleView_AppointmentEditing(object sender, AppointmentEditingEventArgs e)
            {
    //Your logic here
       e.Cancel = true;
                              }
  3. Rosco
    Rosco avatar
    32 posts
    Member since:
    Oct 2008

    Posted 27 Sep 2011 Link to this post

    I have tried this, however the pop-up is still displayed.
  4. Yana
    Admin
    Yana avatar
    4713 posts

    Posted 27 Sep 2011 Link to this post

    Hi Rosco,

    Please check this help article where it's explained how to prevent the RadScheduleView dialogs.

    Greetings,
    Yana
    the Telerik team

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

  5. Rosco
    Rosco avatar
    32 posts
    Member since:
    Oct 2008

    Posted 29 Sep 2011 Link to this post

    Excellent! That works perfectly.
Back to Top