View Single Post
 
Old July 18th, 2004, 03:21 PM
planoie's Avatar
planoie planoie is offline
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Ok, well this is much easier. The popup window could call the window it was launched from (window.opener) and call that window's form and submit it, basically performing a postback. Off the top of my head I think it would be something like this:

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

The trick then is getting the posted back form to repopulate the DDL. If the DDL is being filled only on "Not IsPostBack" then you need something to trigger a reload. Of course, you could always just load the DDL list every time the page loads (not as efficient however).

How are you populating the DDL with the user's files? Is this a user directory on the web server?