Editappointmentdialog Close Event

6 posts, 1 answers
  1. Barry
    Barry avatar
    90 posts
    Member since:
    Jul 2011

    Posted 28 Jul 2011 Link to this post

    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.
  2. Answer
    Rosi
    Admin
    Rosi avatar
    2527 posts

    Posted 29 Jul 2011 Link to this post

    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

    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!

  3. DevCraft banner
  4. Barry
    Barry avatar
    90 posts
    Member since:
    Jul 2011

    Posted 29 Jul 2011 Link to this post

    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
  5. Rosi
    Admin
    Rosi avatar
    2527 posts

    Posted 01 Aug 2011 Link to this post

    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

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

  6. Paul
    Paul avatar
    13 posts
    Member since:
    Nov 2010

    Posted 25 Apr 2012 Link to this post

    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?
  7. Rosi
    Admin
    Rosi avatar
    2527 posts

    Posted 26 Apr 2012 Link to this post

    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

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top
DevCraft banner