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

Disable the Close Window "x" button in the EditAppointmentDialog

1 Answer 98 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
loowool
Top achievements
Rank 2
loowool asked on 21 Jun 2011, 01:13 PM
Dear Telerik,

How do I Disable or Handle the Close Window "x" button in the EditAppointmentDialog? I defined my own EditAppointmentDialogStyle and was able to capture the Cancel and OK buttons, but could not capture the dialog close button.

Thanks (as always)
Salah A. Malaeb
TeknoBuild

1 Answer, 1 is accepted

Sort by
0
Accepted
Yana
Telerik team
answered on 27 Jun 2011, 08:36 AM
Hi Salah,

In order to customize the windows you should implement the ISchedulerDialogHostFactory in a class and set an instance of this class to the SchedulerDialogHostFactory property of RadScheduleView. In this class you could configure RadWindow as you need. I've attached a simple example to demonstrate the approach, please download it and give it a try.

Kind regards,
Yana
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
ScheduleView
Asked by
loowool
Top achievements
Rank 2
Answers by
Yana
Telerik team
Share this question
or