【问题标题】:Want to show Update Progress control on top of ModalPopExtender想要在 ModalPopupExtender 之上显示更新进度控件
【发布时间】:2012-02-06 16:56:36
【问题描述】:

我有一个带有更新面板和更新进度控件的内容页面。页面回发时正确显示更新进度控件。我现在在页面中添加了一个 Modal Popup Extender。当从 Modal Popup Extender 触发回发时,会显示 Update Progress 控件,但位于 Modal Popup Extender 下方。

如何强制更新进度控件显示在顶部?

【问题讨论】:

    标签: asp.net ajaxcontroltoolkit modalpopupextender updateprogress


    【解决方案1】:

    通过 CSS 增加 UpdateProgress 的 z-index。

    .progress
    {
        z-index: 100002 !important;
    }
    

    编辑:添加!important 规则,只是为了安全起见。

    【讨论】:

    • @Zohaib:根据this question,ModalPopupExtender 的默认 z-index 是 100001。所以使用 100002 应该足够了 ;)
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-10-27
    • 1970-01-01
    • 2017-05-06
    • 2011-07-31
    • 2017-03-06
    • 1970-01-01
    相关资源
    最近更新 更多