[英]Show wait image/text while loading an ASP.NET page
I have a site there takes a long time to load so when the use click the button I want him to see a wait image before the site is ready to be showed I have tryed to put this in my .aspx file 我有一个网站,加载时间很长,所以当使用时单击按钮,我希望他在准备显示该网站之前先看到等待图像,我试图将其放入我的.aspx文件中
<asp:UpdateProgress ID="pregLadingStatus" runat="server" DynamicLayout="true">
<ProgressTemplate>
<div id="overlay">
<div id="modalprogress">
<div id="theprogress">
<asp:Image ID="imgWaitIcon" runat="server ImageAlign=AbsMiddle" ImageUrl="/Wait.gif" />
Please wait...
</div>
</div>
</div>
</ProgressTemplate>
</asp:UpdateProgress>
but i cant get it to work 但我不能让它工作
Checkout below links 结帐以下链接
http://www.dotnet-developer.de/2008/04/aspnet2005/display-please-wait-popup/ http://forums.asp.net/t/1121855.aspx/1 http://www.dotnet-developer.de/2008/04/aspnet2005/display-please-wait-popup/ http://forums.asp.net/t/1121855.aspx/1
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.