Kendo Scheduler customeditortemplate window close event

2 posts, 0 answers
  1. Anamika
    Anamika avatar
    157 posts
    Member since:
    Mar 2014

    Posted 31 Jul 2014 Link to this post

    Hello,

    I am using CustomEditorTemplate for Scheduler add/edit popup. I would like to capture the Close Event of customeditortemplate so that i can destroy some other child Windows i opened from customeditortemplate. So i would like to know what Event gets fired when x button is pressed on customeditor popup window. How can i use Close Event of this window so that if window is closed by clicking x or save or cancel Buttons i can reach same function and destroy what i want. I have used Scheduler save and cancel Events to destroy but then when x is pressed i cannot destroy.

    Thanks

    Anamika
  2. Alexander Popov
    Admin
    Alexander Popov avatar
    1442 posts

    Posted 04 Aug 2014 Link to this post

    Hello Anamika,

    I would recommend subscribing to the Scheduler's save and cancel events and destroy the desired elements once the Save, Cancel or X button is clicked.

    Regards,
    Alexander Popov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top