Modal windows issue

4 posts, 1 answers
  1. Nohinn
    Nohinn avatar
    167 posts
    Member since:
    Feb 2011

    Posted 18 Sep 2012 Link to this post

    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 
  2. Answer
    Dimo
    Admin
    Dimo avatar
    8333 posts

    Posted 18 Sep 2012 Link to this post

    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!
  3. Kendo UI is VS 2017 Ready
  4. Peter
    Peter avatar
    1 posts
    Member since:
    Nov 2014

    Posted 22 Jun 2015 in reply to Dimo Link to this post

    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)

  5. Dimo
    Admin
    Dimo avatar
    8333 posts

    Posted 24 Jun 2015 Link to this post

    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!
     
Back to Top
Kendo UI is VS 2017 Ready