codice:Public Shared Sub PopUp(byVal This as System.Web.UI.Page, byVal NomePagina as String) Dim js as String = "<script language=javascript> window.open('" & NomePagina & "','','width=600, height=300');window.opener.location.reload();</script>" If (Not This.IsStartupScriptRegistered("clientscriptpopup")) then This.RegisterStartupScript("clientscriptpopup", js) End if End Sub
La pagina client, una volta aperta la Pop, mi dà problemi su window.opener.location.reload(): dice che è nullo o non e' un oggetto....Dipende forse dalla pagina che passo alla variabile This ?