i have write following code for it:
Page.ClientScript.RegisterStartupScript(this.GetType(), "newWindow", String.Format("", "Default.aspx"), false);
but it shows logout window when popup open.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Iftikar HussainPosted Aug 7, 2013, 12:19 AM
Are you checking session value in default.aspx? In what condition it will redirect to Logout page? Can you check and share?
Regards,
Iftikar
Kirti SrivastavaPosted Aug 7, 2013, 12:16 AM
Page.ClientScript.RegisterStartupScript(this.GetType(), "newWindow", String.Format("", "Default.aspx"), false);
Posted Aug 7, 2013, 12:13 AM
Kirti SrivastavaPosted Aug 7, 2013, 12:04 AM
Kirti SrivastavaPosted Aug 7, 2013, 12:03 AM
Posted Aug 5, 2013, 3:07 PM
When you're closing the parent windows, are you clearing browser history or deleting cookies etc ?
In which page, you've registered the javascript, to open a popup ?