Private Sub ImageButton1_Click(ByVal sender As System.Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles ImageButton1.Click Response.Write("<script language='javascript'>document.parent.location='Default.aspx'</script>") FormsAuthentication.SignOut() Response.Write("<script language='javascript'>document.parent.location='Default.aspx'</script>") End Sub怎么都不好用阿,为什么呢?
response.write("<script language='javascript'>top.document.location='login.aspx'</script>")
Response.Write("<script language='javascript'>document.parent.location='Default.aspx'</script>")
FormsAuthentication.SignOut()
Response.Write("<script language='javascript'>document.parent.location='Default.aspx'</script>") End Sub怎么都不好用阿,为什么呢?
<scrtpt>window.top.location.href="logion.aspx"</script>
<script>window.top.location.href="login.aspx"</script>
感谢忙帮的每一位