Click to See Complete Forum and Search --> : Need POPup Window Help


samsam
06-26-2007, 12:43 AM
Hi,
im new to javascript.
I used one java script for open popup window. its already working well. But there are some problems i have.
I need java script to view search result.
This is my Button Click evnt ------>
btnViewReport.Attributes.Add("onclick","openWin();return false;");
This is my java script
function openWin()
{

win = window.open("ViewReport.aspx");
}

But my problem is if i click first time its searching and given correct result to my popup window.
But again if i gave ( I have more combo box and textboxes) another searching criterias to search again its given previous popup window.

I want to search and compaire my searching datas. but everytime my popup window showing same results.

and i want to tell everytime i pass my control data to session variable.

\\.\
06-26-2007, 02:46 AM
Sorry but pop up windows are an annoyance, I personally hate them like over 98% of internet users, they are unwelcome, an intrusion and often carry SPAM-verts or other stuff as well like tracking cookies...