码迷,mamicode.com
首页 > 其他好文 > 详细

弹框提示

时间:2017-01-20 11:10:01      阅读:160      评论:0      收藏:0      [点我收藏+]

标签:round   erro   error   ror   dialog   form   str   ack   tty   

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>无标题页</title>

</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server" 
        onasyncpostbackerror="ScriptManager1_AsyncPostBackError">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <asp:Button ID="Button1" runat="server" Text="触发错误按钮" onclick="Button1_Click" />
        </ContentTemplate>
    </asp:UpdatePanel>
    </form>
</body>
</html>

  

 

String strAlertMess=

"var dialog = art.dialog

({ title: ‘" + strTitle + "‘,

content: ‘" + strAlert + "‘,

icon: ‘error‘,

drag: false,

resize: false,

lock: true,

dblclick_hide: false,

ok: function () { }

});";

 

 ScriptManager.RegisterStartupScript(this, GetType(), "", strAlertMess, true);

 

弹框提示

标签:round   erro   error   ror   dialog   form   str   ack   tty   

原文地址:http://www.cnblogs.com/whl4835349/p/6321946.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!