Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
inet
active_desktop
active_scrptng
asp.components
asp.db
asp.general
comctl32
comp.packaging
components.dev
dbweb
dhtml_editing
docobjects
html_authoring
html_objmodel
iis
iis.ftp
iis.security
iis.smtp_nntp
indexserver
misc
mshtml_hosting
scripting.jscript
scripting.vbscript
sdk_setup
shell_objmodel
urlmonikers
webbrowser_ctl
wininet
  
 
date: Mon, 15 May 2006 09:29:27 +0200,    group: microsoft.public.inetsdk.programming.scripting.jscript        back       


showModalDialog Refresh   
Hi all,
I try to create a web application, which calls a Dialog Window, when I click
on a Button.
This work fine when I use the Java function showModalDialog.

After the Dialog is complete, it should refresh the 'Main Form' (not the 
complete window.submit or something else).

So how can I refresh the 'Main Form'?

I have try it with window.window or opener, but both will 'null'.
When I use parent, I have any value in document.forms.

Thanks,
Andre
date: Mon, 15 May 2006 09:29:27 +0200   author:   Andre Grumbach

Re: showModalDialog Refresh   
Isn't there something like dialogArguments or such
which lets you synch what your are talking about ?

There is no refresh command in dhtml.
Only a location reload().
You can reset() a form, but not submit to the same
window without having set the target attribute for
the form.

And there it will chock.

The dialog is not automatically aware of the window
you are trying to show your new form in because
it already is in a new window.


************

Why don't you post your code.





"Andre Grumbach"  wrote in message
news:%23QvtNF$dGHA.5016@TK2MSFTNGP04.phx.gbl...
> Hi all,
> I try to create a web application, which calls a Dialog Window, when I
click
> on a Button.
> This work fine when I use the Java function showModalDialog.
>
> After the Dialog is complete, it should refresh the 'Main Form' (not the
> complete window.submit or something else).
>
> So how can I refresh the 'Main Form'?
>
> I have try it with window.window or opener, but both will 'null'.
> When I use parent, I have any value in document.forms.
>
> Thanks,
> Andre
>
>
date: Fri, 19 May 2006 02:22:30 -0400   author:   asdf

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us