gpt4 book ai didi

asp.net - 在页面中间显示 Ajax UpdateProgress

转载 作者:行者123 更新时间:2023-12-04 16:28:02 25 4
gpt4 key购买 nike

我正在使用 Ajax UpdateProgress 控件。虽然它按我预期的那样工作,但我希望它出现在页面的中心。我怎么做

<asp:UpdateProgress runat="server"
id="PageUpdateProgress" DisplayAfter=0
DynamicLayout=true>
<ProgressTemplate>
<div>
<img src="../Images/load.gif" />
</div>
</ProgressTemplate>
</asp:UpdateProgress>

最佳答案

感谢 Jaidev,非常方便的帖子!

可能需要一段时间才能使 css 恰到好处,所以只是为了简化其他人的解决方案,您只需要以下内容(用于 updateprogress 中间定位):

<div style="position:absolute; width:100%;height:100%;"></div>



和图像:

<img style="position:relative; top:45%;" />

关于asp.net - 在页面中间显示 Ajax UpdateProgress,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4604786/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com