
January 10th, 2003, 12:14 PM
|
|
Registered User
|
|
Join Date: Jan 2003
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Opening a new window
Hi there, I've been programming in .NET for a month now, so I apologise if this is a real newbie question.<br><br>Anyway, I have an asp page (with c# code behind) and what I want to do is open up a new page (in a new window) which will contain a datagrid. The user will then select an item on the grid, press an OK button which will close this page and return a value to the calling page.<br><br>I am trying to do this using javascript and the "window.open" command, but I don't know how to return control (or a value) back to the calling page when I close the popup page.<br><br>So the flow of control I want would look somthing like this:<br><br>Load Page1<br>-> Do some processing then call the popup<br>--->Load Page2<br>----->Select an item on the grid, press OK<br>----->Close Page2, return value to Page1<br>--->Continue processing on Page1, based on the value returned<br><br>Does this look possible? Or should I look at using less convoluted functionality <img src="/forum/emoticons/smile.gif" alt=":-)"> <br><br>Any help on this would be greatly appreciated as it has been bugging me for days!<br><br>TIA,<br>JulianM
|