G
Guest
I have a LinkButton_search on my Page1.aspx that opens up a popup page called
popup.aspx. I do this with LinkButton.Attributes.Add() on the Page_Load of
Page1.aspx.
How can I add server-side code to LinkButton_search_Click() so that the code
in there runs before opening the popup window? The problem is that I fill a
Session variable when I click on the button that will then be used in the
Page_Load of my Popup window. So basically this is what I want:
1) Add the "onclick" Attribute to the LinkButton (so it's a popup window)
2) Run the LinkButton_search_Click(object sender, EventArgs e) to fill the
Session variable
3) Open popup.aspx as a popup window and in its Page_Load() use the Session
variable that was filled in step 2.
Any help is appreciated.
Thanks
popup.aspx. I do this with LinkButton.Attributes.Add() on the Page_Load of
Page1.aspx.
How can I add server-side code to LinkButton_search_Click() so that the code
in there runs before opening the popup window? The problem is that I fill a
Session variable when I click on the button that will then be used in the
Page_Load of my Popup window. So basically this is what I want:
1) Add the "onclick" Attribute to the LinkButton (so it's a popup window)
2) Run the LinkButton_search_Click(object sender, EventArgs e) to fill the
Session variable
3) Open popup.aspx as a popup window and in its Page_Load() use the Session
variable that was filled in step 2.
Any help is appreciated.
Thanks