Home All Groups Group Topic Archive Search About

Return value in a popup window

Author
6 Feb 2006 7:51 PM
Jennyfer Barco
Hello I have a popup windows showing a datagrid with codes and descriptions.
Wen the user selects the "Select" column I want to be able to transfer the
value they selected to the previous screen that called the popup window. Now
I'm only closing the popup with this command:
Response.Write("<script language='javascript'> { window.close();}</script>")


How can I return a value they selected? I can use session variables to save
the value but how can I use this in my previous windows if there is no event
being called when closing the popup.

Thanks in advance

Jennyferd

Author
7 Feb 2006 6:29 AM
Cor Ligthert [MVP]
Jennyfer,

The popup window and ASPNET are enemies.

Just use a Panel to show up what you want, the user will not recognize it.

Just my opinion,

Cor