Hi, all
I am using VS2003 under WinXP. My WebApp has a WebForm which has a html
form has some search condition textbox, once the user fill in the condition
and click submit button. My app will stay in the same WebForm but open a
popup window in the framset target as "body" to show the search results.
So I implement like this:
protected void Button2_Click(object sender, EventArgs e)
{
Session[search] = TextBox1.Text.ToString();
Response.Write("<script>window.open('SearchResult.aspx','Body');</script>");
}
It works fine for me. The only problem I get is: If the user click the
submit button more than one time Control will not pass to the Page load of Other web page below is the code where the code should be transfer:
protected void Page_Load(object sender, EventArgs e)
{
Stt1;
stt;
stt;
}