【发布时间】:2015-12-05 06:50:04
【问题描述】:
我使用引导控制。我设置进度条样式z-index : 100000;。
但进度条没有全部控制。怎么办?
如何强制更新进度控件显示在顶部?
<asp:ScriptManager ID="ScriptManager1" EnablePageMethods="true" LoadScriptsBeforeUI="true" ScriptMode="Release" runat="server" />
<asp:UpdateProgress ID="uppMain" runat="server">
<ProgressTemplate>
<div style="position: absolute; background: url(/Style/Engine/images/black-bg.png); top: 0px; left: 0px; width: 100%; height: 100%;">
<div style="width: 150px; height: 20px;z-index:100002 !important; position: fixed; left: 50%; margin-left: -75px; top: 50%; margin-top: -10px; text-align: center;">
<img id="imgLoading" alt="" src="/Style/Engine/images/loading.gif" />
</div>
</div>
</ProgressTemplate>
</asp:UpdateProgress>
<asp:UpdatePanel runat="server" ID="UpdatePanel1">
<ContentTemplate>
.......
</ContentTemplate>
</asp:UpdatePanel>
【问题讨论】:
-
请发布您完成的代码或提供演示。
-
@shahrox 你需要将
AssociatedUpdatePanelID="UpdatePanel1"添加到uppmain -
......谢谢