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

Modal windows issue

3 Answers 126 Views
Window
This is a migrated thread and some comments may be shown as answers.
Nohinn
Top achievements
Rank 1
Nohinn asked on 18 Sep 2012, 10:05 AM
Having a first modal window, if you open from there a new one (modal too), and apply to it a call to the destroy function when it closes, makes the first window to lose modal.

Sample: http://jsbin.com/ixojov/1/edit 

3 Answers, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 18 Sep 2012, 02:13 PM
Hello Nohinn,

The problem is caused by the fact that the Windows use a shared modal overlay. You can destroy the second Window with a timeout, which is greater than the closing animation duration. We will fix the problem to not occur in future versions.

All the best,
Dimo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Peter
Top achievements
Rank 1
answered on 22 Jun 2015, 09:03 AM

I encounter the same problem in version "Q1 2015":

The first modal window contains a grid. This grid contains a command column which opens a second (modal) window. When the user closes the second window, the first window unfortunately loses its modal state. (After that the user can access whatevers behind the first window, which in this case leads to an undesired user experience)

0
Dimo
Telerik team
answered on 24 Jun 2015, 10:53 AM
Hi Peter,

Here is a test page, which works as expected:

http://dojo.telerik.com/onETA

Regards,
Dimo
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Window
Asked by
Nohinn
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Peter
Top achievements
Rank 1
Share this question
or