Feb 18, 2009, 12:46 PM
Modal Window Open another Modal Window and Data return
Hi everybody,
i have a modal window (let's call it window1) with a button.
When the user clicks on that button, the idea is to open a new modal window (let's call it window2).
Everything works fine: users clicks on the button, and the window2 is shown as a modal window, but the loading message doesn't disappear to show the contents of this page.
Another question is how can i return data from window2 to its parent (window1).
The contents of this window2 is a grid with some data. The goal is that, when the user selects a row on the grid window2 is closed, and the selected data is returned to window1.
Probably this is a bit complicated to understand, so i configure one site where you can see:
http://regula.mediafoundry.eu/page1.aspx
and the code can be downloaded here:
http://regula.mediafoundry.eu/code.zip
Thanks,
Nuno Santos
i have a modal window (let's call it window1) with a button.
When the user clicks on that button, the idea is to open a new modal window (let's call it window2).
Everything works fine: users clicks on the button, and the window2 is shown as a modal window, but the loading message doesn't disappear to show the contents of this page.
Another question is how can i return data from window2 to its parent (window1).
The contents of this window2 is a grid with some data. The goal is that, when the user selects a row on the grid window2 is closed, and the selected data is returned to window1.
Probably this is a bit complicated to understand, so i configure one site where you can see:
http://regula.mediafoundry.eu/page1.aspx
and the code can be downloaded here:
http://regula.mediafoundry.eu/code.zip
Thanks,
Nuno Santos