Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

doPostBack in parent window from child window 1

Status
Not open for further replies.

ghesse

Programmer
Jun 16, 2003
51
US
Hi,

I have a listbox with a bunch of user created items in it. When the user goes to fill out the form that this listbox is in, I want to give them the option of creating a new item. What I had planned was opening a new window with the form that user goes through to create these items, then when they're done they close the window and the original form gets refreshed and their newly created item is in the listbox.

Normally I'd just server.Redirect them to the form where they create these items but I don't want them to loose their work on the form they're filling out.

So the question is, how do I get the child window I open up to send a command back to the parent window to do a postback?

--ghesse
 
window.opener.document.forms[0].submit();

:)
paul

penny.gif
penny.gif

The answer to getting answered -- faq855-2992
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top