Unable To maintain Page State
-
function popitup(url) { newwindow=window.open(url,'name','height=200,width=150'); if (window.focus) {newwindow.focus()} return false; } hi i have a two aspx pages page1.aspx and page2.aspx on each page there is a link which open a new window using above javascript, but i want to know the previous page information eighter it open using page1.aspx page or page2.aspx page. request object is null, so i'm unable to identify.
KnightGuy
-
function popitup(url) { newwindow=window.open(url,'name','height=200,width=150'); if (window.focus) {newwindow.focus()} return false; } hi i have a two aspx pages page1.aspx and page2.aspx on each page there is a link which open a new window using above javascript, but i want to know the previous page information eighter it open using page1.aspx page or page2.aspx page. request object is null, so i'm unable to identify.
KnightGuy
-
function popitup(url) { newwindow=window.open(url,'name','height=200,width=150'); if (window.focus) {newwindow.focus()} return false; } hi i have a two aspx pages page1.aspx and page2.aspx on each page there is a link which open a new window using above javascript, but i want to know the previous page information eighter it open using page1.aspx page or page2.aspx page. request object is null, so i'm unable to identify.
KnightGuy
If you want to know in server side then pass a query string value ( ex: page1.aspx?ref=page2) and get the querystring value in server side using
Request.QueryString["ref"]
. Hope this will solve ur problem. -
If you want to know in server side then pass a query string value ( ex: page1.aspx?ref=page2) and get the querystring value in server side using
Request.QueryString["ref"]
. Hope this will solve ur problem.Dear, the request object is null.
KnightGuy