This is a migrated thread and some comments may be shown as answers.

Show Confirm before Closing window

1 Answer 398 Views
Window
This is a migrated thread and some comments may be shown as answers.
Mohammad Faraaz
Top achievements
Rank 1
Veteran
Mohammad Faraaz asked on 02 Sep 2020, 04:02 PM

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?

 

 

1 Answer, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 04 Sep 2020, 01:30 PM

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/.

Tags
Window
Asked by
Mohammad Faraaz
Top achievements
Rank 1
Veteran
Answers by
Martin
Telerik team
Share this question
or