jcraun
asked on
Pass Datagrid Value to New Window
I currently have a datagrid with a button column "select" command on webform1. When this link is clicked I invoke the Item Command event for the datagrid which sets a Session Variable equal to the ID # of the selected row. I navigate to a new page (webform2) using response.redirect and webform2 is populated with information specific to the Session ID number. However, I need webfrom2 to open in a new browser window. I know I cans set the base target of webform1 to _blank and I get a new window but it seems to lose my session variable and everything breaks.
Essentially, how do I pass a Session variable to a page that opens in a new Browser window?
Thanks for helping :)
Essentially, how do I pass a Session variable to a page that opens in a new Browser window?
Thanks for helping :)
You can pass the ID# as Query String to the new window
ASKER
This is what I used.. i found it in another thread..
Response.Write("<script>wi ndow.open( 'SlideView .aspx','') ;</script> ")
Thanks for the suggestion.
Response.Write("<script>wi
Thanks for the suggestion.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.