Click here to Skip to main content
15,892,575 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,
I have a master page(firstPage) and then i want to display a new page(childPage) as a popup(here i am using javascript to display popup).from popup(childpage)after checking some conditions I want to redirect to another page(second page). when I tried to calling from popup(child page),the second page will display in the popup. how can display the second page in parent window?
Posted

1 solution

Looks like this article should help you out: Partial update of parent page via AJAX (ASP.NET 2.0) on close of a child window - conditionally[^]
Your scenario just differs at the end. Instead of refreshing parent, kinda redirect is needed.
 
Share this answer
 
Comments
kevinpj 4-Oct-10 16:06pm    
I am not using the ajax.I have a main page and there is a link button(login) when i click on that, it display new aspx page(username and password) as a popup window. after entering the username and password, then i will click Login button, then it checks the user authentication in the data base.if it is correct i want to display a new page.I called the new page from popup,then the new page will come inside the popup. pls help me...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900