Home All Groups Group Topic Archive Search About

RE: Refresh main web page After closing modal Dialog

Author
26 Apr 2006 2:47 PM
T.Stanley
Hi. Sorry to horn in, but would you mind posting the code you wound up using
for your OnUnload event handler?  I am new to code that involves javascript,
and would appreciate avoiding my inevitable bugs.  Thanks!!!

T. Stanley

Show quote
"DavidS" wrote:

> Thank you - used later approach and works fine.
>
> "Anna" wrote:
>
> > Add hadler to onunload event for modal window and when the event fires force postback or reload parent page thru window.open on the parent window object.
> >
> > I hope that helped.
> >
> > Anna
> >
> > "DavidS" wrote:
> >
> > > I have parent.aspx web page.  I call a modal dialog (another child.aspx web form) via showmodaldialog function.  I pass values from parent with parameter list.  The modal dialog allows the user to add/edit/delete information in a SQL Table.  When I close the modal dialog, I'd like the parent.aspx web page to refresh itself - so I can reload drop down lists from the modified SQL table.  How can I do this?  Or any suggestion as to how to reload the parent's dropdown list from the modal dialog.
> > >
> > > Please advise
> > >

AddThis Social Bookmark Button