Show Confirm before Closing window

2 posts, 0 answers
  1. Mohammad Faraaz
    Mohammad Faraaz avatar
    5 posts
    Member since:
    May 2020

    Posted 02 Sep Link to this post

    Hi,

    Unfortunately, the simplest seeming tasks are made hard by Kendo.

    I just have to show a "kendoConfirm" box before my Kendo Window closes. 

    I have written my code in the Close event of the Kendo Window. The confirm box shows but the window has already closed since the code execution does not stop when kendoConfirm box shows.

    Is there any way to achieve this simple functionality?

     

     

  2. Martin
    Admin
    Martin avatar
    262 posts

    Posted 04 Sep Link to this post

    Hello Mohammad,

    Here is a simple Dojo example how the desired result could be achieved.

    Let me know if that meets your requirements, or if any changes are necessary.

    Regards,
    Martin
    Progress Telerik

    Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Back to Top