are you sure the error is from this line? but tryResponse.Write("<SCRIPT language='javascript'>popUpWindow('" & url.ToString() & "');</" + "SCRIPT>")

解决方案 »

  1.   

    javascript里头没有popUpWindow这个函数吧!
    自己写一个?!
      

  2.   

    问一下,我的LinkButton在单击时会触发几个事件,哪几个?
      

  3.   

    <script language="VB" runat="server">
     sub page_load(s as object,e as eventargs)
     
        dim str as string=""
    str=request.QueryString("hr_id")
       if str <> "" then
    str = str & ".aspx"   
    response.write("<script language=JavaScript> window.open('" & str & "'" & ",'','resizable=yes,scrollbars=yes,location=no');window.close();"&"<"&"/script>")
       End if
     end sub
    </script>请注意最后的:&"<"&"/script>")