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" / >
Refresh Parent Page from Popup/child page
Posted by
Rajesh Rolen
at
Monday, January 11, 2010
Labels: ASP.NET , ASP.NET Interview Questions , java script
0 comments:
Post a Comment