This question is locked. New answers and comments are not allowed.
Is there an event that I can capture when the appointment dialog closes? I need to perform an action when the dialog closes - whether the user clicks "Ok", "Cancel", or uses the black "x" in the upper right-hand corner, I need the same action performed.
5 Answers, 1 is accepted
0
Accepted
Hi Barry,
A such event is not supported by RadScheduleView at the current version. could you share with us more details
about the task you want to implement? We will do our best to provide you with a suggestion how to implement it without the need of similar event.
Regards,
Rosi
the Telerik team
A such event is not supported by RadScheduleView at the current version. could you share with us more details
about the task you want to implement? We will do our best to provide you with a suggestion how to implement it without the need of similar event.
Regards,
Rosi
the Telerik team
Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!
0
Barry
Top achievements
Rank 1
answered on 29 Jul 2011, 12:37 PM
Hi Rosi,
It would have been nice to have some sort of OnClosing or OnDisposed event for the dialog box, but I just removed the little "x" in the corner and wired the "Ok" and "Cancel" buttons to perform the action I needed.
What I am doing is making files (attachments) available on the server when the appointment opens, and I wanted to make them unavailable once the appointment closes - because other files will have to be made available when a different appointment is opened. It seems to work just fine the way I have set up now though.
While I'm at it, I may as well point out that it would be a good thing to have an attachment option for the scheduleview. I ended up making my own because that is what I require, but it seems that this is something that should come standard with the scheduleview component. Attaching the files that you are going to need for your appointment to that appointment in the schedulview is very useful.
Thanks,
Barry
It would have been nice to have some sort of OnClosing or OnDisposed event for the dialog box, but I just removed the little "x" in the corner and wired the "Ok" and "Cancel" buttons to perform the action I needed.
What I am doing is making files (attachments) available on the server when the appointment opens, and I wanted to make them unavailable once the appointment closes - because other files will have to be made available when a different appointment is opened. It seems to work just fine the way I have set up now though.
While I'm at it, I may as well point out that it would be a good thing to have an attachment option for the scheduleview. I ended up making my own because that is what I require, but it seems that this is something that should come standard with the scheduleview component. Attaching the files that you are going to need for your appointment to that appointment in the schedulview is very useful.
Thanks,
Barry
0
Hello Barry,
Thank you for sharing us the details.
We will consider the described feature requests for future versions of the control. Meanwhile do not hesitate to contact us if you have any additional questions.
Regards,
Rosi
the Telerik team
Thank you for sharing us the details.
We will consider the described feature requests for future versions of the control. Meanwhile do not hesitate to contact us if you have any additional questions.
Regards,
Rosi
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>
0
Paul
Top achievements
Rank 1
answered on 25 Apr 2012, 07:25 PM
I require this functionality also. Any chance it has been implemented yet?
I either need an OnClosing/OnClosed event for the appointment modal... or I need to remove the "X" button so the user has to click the "Close" button (which I can trap). When the modal closes, I need to free a logical lock.
I customized the appointment modal by changing the EditAppointmentTemplate. If the only option is to hide the "X" button, do I need to implement my own custom modal by implementing IScheduleViewDialogHostFactory?
I either need an OnClosing/OnClosed event for the appointment modal... or I need to remove the "X" button so the user has to click the "Close" button (which I can trap). When the modal closes, I need to free a logical lock.
I customized the appointment modal by changing the EditAppointmentTemplate. If the only option is to hide the "X" button, do I need to implement my own custom modal by implementing IScheduleViewDialogHostFactory?
0
Hi,
This functionality is not available yet. We will do our best to include it in our Q2 release or shorty after that.
As for removing the Close button- Yes, you need to implement a ISchedulerDialogHostFactory interface. For more details please follow the link below:
http://www.telerik.com/community/forums/silverlight/scheduleview/disable-the-close-window-x-button-in-the-editappointmentdialog.aspx
Greetings,
Rosi
the Telerik team
This functionality is not available yet. We will do our best to include it in our Q2 release or shorty after that.
As for removing the Close button- Yes, you need to implement a ISchedulerDialogHostFactory interface. For more details please follow the link below:
http://www.telerik.com/community/forums/silverlight/scheduleview/disable-the-close-window-x-button-in-the-editappointmentdialog.aspx
Greetings,
Rosi
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>