Disable the Close Window "x" button in the EditAppointmentDialog

2 posts, 1 answers
  1. loowool
    loowool avatar
    60 posts
    Member since:
    Sep 2006

    Posted 21 Jun 2011 Link to this post

    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
  2. Answer
    Yana avatar
    4604 posts

    Posted 27 Jun 2011 Link to this post

    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,
    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
Back to Top