http://www.aspxcontrol.com控件名称:WebMessageBox
版本:1.0
版权:为免费软件,可自由拷贝,但必须保持其完整性
作者:waki
Email:[email protected]
下载网址:http://www.aspxcontrol.com我不副责任。我没用过

解决方案 »

  1.   

    写后置代码
    protected string script="";
    private void Page_Load(object sender, System.EventArgs e)
    {
    script += "<script language=\"javascript\">\n";
    script += "window.alert('ffdsfaf!');\n";
    script += "</script>\n";

    html中加入:
    <%=script%>
      

  2.   

    <script runat="server">
    Public Msg As String
    Sub ..
       Msg = "你要弹出的信息" 
    End Sub
    </script>
    <script language="vbscript">
    sub ..
        msgbox "<%=Msg%>"
    end Sub
    </script>
      

  3.   

    sub ..
        msgbox "<%=Msg%>"
    end Sub这样能行??????
      

  4.   

    这样<%="<script>alert('content')</script>"%>呵呵,没用response
      

  5.   

    Response.Write("<script>alert('content');</script>"%);
      

  6.   

    Response.Write("<script>alert('content');</script>");