DotNet Academy of Rajesh Rolen

Solutions by Rajesh Rolen

Refresh Parent Page from Popup/child page

some time we have a datagrid/gridview in parent form and we add new values or we remove value from existing grid by using a popup from and we want that when we finish our add/delete/update from popup/child page my parent form should automatically get refresh so i can see the changes i have done in popup form.
write the following code in your page:

< script language="javascript" type="text/javascript" >
function closeme()
{
opener.location.reload();
window.close();
}
< /script >


< input id="btnClose" class="form-button" onclick="closeme()" type="button" value="Close" / >

1 comments:

Keep Smiling April 19, 2010 at 3:41 AM  

is good but i want question like this

what is code of masterpage designed and added one label it's values can be send at runtime using different webforms?

Post a Comment

About this blog

Blog Archive

My Blog List

Advertise On This Site

Site Info

Advertise on this Site

To advertise on this site please mail on RajeshRolen@gmail.com

Information Source

About

Pages

Dot Net Academy

Advertis in This Area of Site

Powered by Blogger.

Followers

Blog Archive

Search This Blog