Click here to Skip to main content
15,917,862 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to rerfesh only asp.net parent window's label on closing child window without refreshing whole parent page.

Please provide any solution
thank n regards
rahul sharma
Posted
Comments
Show your code.

 
Share this answer
 
Comments
Rahul_Pandit 13-Nov-13 4:05am    
I dont wanna refresh grid or whole page...Refreshing only parent grid is working fine.I want to refresh only label text which is outside parent grid.
So wat i wanna do --refresh parent page label only not whole page.
Rahul_Pandit 13-Nov-13 4:07am    
everything is working fine on child window close like parent grid is refreshing without whole page refresh but label outside parent gird not refreshing.label is refreshing when i press f5
This will reload the content of the page without actually recreating the postback fired by selecting the dropdown item.
XML
<script>
        window.onunload = refreshParent;
        function refreshParent() {
            var loc = window.opener.location;
            window.opener.location = loc;
        }
    </script>
 
Share this answer
 
v2
 
Share this answer
 
I resolve it by refreshing parent page radgrid and calling refreshgrid method in parent from child.now in this method i call rebind through js that help to call needdatesource and in nedddatasource i update the label text.
 
Share this answer
 

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