Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by vivek on Jun 11, 2009 06:00
open dhtmlx forum
opening modalwindow from another modalwindow by closing parent modal window

Q. How can we open a new modalwindow from another opened modal window(urlattach approach) ?
Answer posted by Alex (support) on Jun 11, 2009 08:04

You can use the following approach:

var w2 = parent.dhxWins.createWindow("w2", x,y, width,height);
w2.setModal(true);

where dhxWins is dhtmlxWindow object that was initialized in the parent window

Answer posted on Jun 11, 2009 21:39
How to close parent  popup window without closing child windows.
Answer posted by Alex (support) on Jun 12, 2009 01:36
If you mean that you want to close dhtmlxwindow and don't close dhtmlxwindow inside its iframe, it isn't possible.