如何显示每个页面回发之间的加载图像. [英] How to Show loading Image between each page postback.

查看:72
本文介绍了如何显示每个页面回发之间的加载图像.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
如何显示每个页面回发之间的加载图像.

Hi all,
How to Show loading Image between each page postback.

推荐答案

看看^ ].本文讨论了执行此操作的三种方法.
Have a look at this article[^]. This article discusses three ways to do this.


您可以为此使用Simple AJAXControl.尝试浏览UpdatePanel并提供相同的UpdateProject映像.
You can use Simple AJAXControl for that. Try to Explore UpdatePanel and provide the UpdateProject Image for the same.
<asp:ScriptManager ID="ScriptManager1" runat="server" />
       <asp:UpdateProgress runat="server" id="UpdateProgress">
           <ProgressTemplate>
               Loading Please Wait... // Here you can put a loading image as well
           </ProgressTemplate>
       </asp:UpdateProgress>
       <asp:UpdatePanel runat="server" id="Panel">
           <ContentTemplate>
Different ASP.NET Content that will participate in Partial Page rendering 
               <asp:Button runat="server" id="buttonSave" onclick="Save_Click" text="Save" />
           </ContentTemplate>
       </asp:UpdatePanel>



希望这会有所帮助.



Hope this will help.


这篇关于如何显示每个页面回发之间的加载图像.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆