Thursday, May 12, 2011

Refreshing the parent page from the child pop up window

Dim script As String = "<script language='JavaScript'>"
 script = script + "window.opener.document.forms(0).submit(); </script>"

 If Not Page.ClientScript.IsClientScriptBlockRegistered("popup") Then
      Page.ClientScript.RegisterClientScriptBlock(Page.GetType(), "popup", script)
   End If

1 comment:

  1. Thanks for the sharing information. Can you share some more links related to this information. I was searching for an effecient way for Refreshing the parent page from the child.Thanks for sharing such an informative and useful blog. Its really helped.electronic signature

    ReplyDelete