首页 > 其他 > 详细

弹框提示

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

<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);

 

弹框提示

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!