I have found loads of examples on the web of how to create a remote control to redirect the parent window to a new page
but nothing that does what i need..
I have a form (parent window) and a popup (child window). When the popup is opened the user can upload an image I want to populate the path to the image into the relevant field in my parent window when the user closes the child window.
The photo below is the current photo
Change Photo <----- Opens popup
Browse | Upload
I.e. Once i've uploaded the file in the popup and its been previewed then the user closes the window
and the the path is passed back to the original window | original window refreshed so the user can see the photo.
PS The upload code is working fine, all i need is to be able to pass the url of the photo back to the original page and refresh the original page.