Store ur dropdownlist selected value into one variable..
While opening Popup window send that variable as query string
open your window in code behind like below
ScriptManager.RegisterClientScriptBlock(this.GetTye(), "openwindow", "<script> window.open(NewCustomer.aspx?customerId="+custID,"Popup","toolbar=no,scrollbars=no,location=no,statusbar=no,menubar=no,resizable=0,width=520,height=350,left = 250,top = 50");</script>", true);
and retrive above customerID value
by using below method
function getQueryStrings() {
var queryStringColl = null;
var requestUrl = window.location.search.toString();
if (requestUrl != '') {
requestUrl = requestUrl.substring(1);
queryStringColl = new Array();
var kvPairs = requestUrl.split('&');
for (var i = 0; i < kvPairs.length; i++) {
var kvPair = kvPairs[i].split('=');
queryStringColl[kvPair[0]] = kvPair[1];
}
}
return queryStringColl;
}
above method returns query string details u can retrieve by using below code
function myfunction() {
var queryStringColl = getQueryStrings();
alert(queryStrinColl['customerId']);
}