or
<system.web> <sessionState timeout="60"></sessionState>Me.ClientScript.RegisterStartupScript(Me.GetType, "", "Close();", True)<script type="text/javascript"> function GetRadWindow() { var oWindow = null; if (window.radWindow) oWindow = window.radWindow; else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow; return oWindow; } function Close() { GetRadWindow().close(); }</script>Protected Sub ImgBtncontinua_Click(sender As Object, e As System.Web.UI.ImageClickEventArgs) Handles ImgBtncontinua.Click Me.ClientScript.RegisterStartupScript(Me.GetType, "", "Close();", True) Session.Add("Profilo", 0) Response.Redirect("~/profilo.aspx")End Sub