Hi all,
I try to create a web application, which calls a Dialog Window, when I click
on a Button.
After the Dialog is complete, it should refresh the 'Main Form'.
So how can i refresh the 'Main Form'?
I have try it with window.window or opener, but both will 'null'.
Thanks,
Andre
asdf - 19 May 2006 08:13 GMT
How can you have a "dialog complete" and at the same time
asking for a synch between what?
You are stretching my patience.
-------------------------
You can have a window, document, script etc. complete.
Once you are talking dialog,
I expected dialog handling complete attempt code.
==============
Your are pushing MS publishing commonalities here.
> Hi all,
> I try to create a web application, which calls a Dialog Window, when I click
[quoted text clipped - 8 lines]
> Thanks,
> Andre
Look at the dialog return value - 25 Jul 2006 20:05 GMT
This is what you are looking for:
in the main page:
var myReturnValue = window.showModalDialog(strURL, window, strFeatures)
if (myReturnValue == 'OK')
{
__doPostBack('', '')
}
in the dialog window:
window.returnValue='OK';