This is a migrated thread and some comments may be shown as answers.

Disable Appointment Pop-up

4 Answers 99 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Rosco
Top achievements
Rank 1
Rosco asked on 27 Sep 2011, 05:20 AM
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?

4 Answers, 1 is accepted

Sort by
0
Naresh
Top achievements
Rank 1
answered on 27 Sep 2011, 09:20 AM
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;
                          }
0
Rosco
Top achievements
Rank 1
answered on 27 Sep 2011, 09:23 AM
I have tried this, however the pop-up is still displayed.
0
Yana
Telerik team
answered on 27 Sep 2011, 09:27 AM
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 >>

0
Rosco
Top achievements
Rank 1
answered on 30 Sep 2011, 01:14 AM
Excellent! That works perfectly.
Tags
ScheduleView
Asked by
Rosco
Top achievements
Rank 1
Answers by
Naresh
Top achievements
Rank 1
Rosco
Top achievements
Rank 1
Yana
Telerik team
Share this question
or