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

Do not Display Edit Appointment DialogBox

1 Answer 29 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Kshamesh
Top achievements
Rank 1
Kshamesh asked on 17 Sep 2012, 04:46 AM
Hello Everyone,

Whenever we double click on any appointment, it displays the Edit Appointment Dialog Box. I have requirement to stop showing this DialogBox and allows some background changes in Appointment_Editing event without using this Dialog box.  I have already tried doing e.Cancel = true, however no success. Please let me know if there is any other way around to achieve this.

private void RadScheduleView_AppointmentEditing(object sender, AppointmentEditingEventArgs e)
{
    e.Cancel = true;
    //my custom logic goes here
}

 

Regards,
Kshamesh

 


1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 17 Sep 2012, 11:49 AM
Hello Kshamesh,

You should cancel ShowDialog event in order to prevent the EditAppointmentDialog from showing. More information about the event can be found here.

Greetings,
Yana
the Telerik team

Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.

Tags
ScheduleView
Asked by
Kshamesh
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or