0
我使用引导控件.i设置进度条样式z-index : 100000;
。 但没有进度吧全部控制.how能做到吗? 如何强制更新进度控制出现在顶部?如何在所有控件上显示更新进度控制
<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>
请发布您的完整代码或提供演示。 – Alex
@shahrox你需要添加'AssociatedUpdatePanelID =“UpdatePanel1”'到'uppmain' – Webruster
.............谢谢 – shahroz