Click here to Skip to main content
15,894,362 members
Please Sign up or sign in to vote.
1.33/5 (2 votes)
See more:
how to possible on button click open popup and after close popup redirect Another page in asp.net?
Posted
Comments
sushil7350 19-Jun-14 3:01am    
Please help me as soon as possible?

You could do this by using JavaScrupt.
In my next article you can find examples and also source code: Advanced ASPX GridView Pagination and Data Entities[^]
 
Share this answer
 
Comments
sushil7350 19-Jun-14 3:00am    
please give me another simple example for this?
Thank You !
You can make use of AJAX modal popup extender[^].

In the button which you use to close the model popup extender,write code to redirect to another page. Its not that hard as you think.

Regards..
 
Share this answer
 
XML
<script>
    window.onunload = LoadMyPage;
    function LoadMyPage() {
        window.open("/mypage.aspx"); //give the complete path here
    }
</script>
 
Share this answer
 
Comments
sushil7350 19-Jun-14 4:24am    
i don't want open new window .i want to replace parent page with another page on same window.
Thank You !

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