显示“正在加载..."网页处理过程中的消息 [英] Show "loading…" message while web page is process

查看:75
本文介绍了显示“正在加载..."网页处理过程中的消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在处理网页时显示正在加载..."消息..

例如,现在我需要在向用户发送邮件期间显示加载消息...
我尝试了gif图像..但是在发送邮件后可见...我需要在处理过程中显示消息..

谢谢n Advance

How to Show "loading…" message while web page is process..

For example now i m in need to show loading message during sending mail to user...
i tried gif image.. but it visible after sending mail...i need to show message during process..

Thanks n Advance

推荐答案

为此使用更新进度.

在asp中:脚本管理器:

use update progress for that.

in asp: script manager :

<asp:ScriptManager ID="s1" runat="server"></asp:ScriptManager>


<asp:UpdatePanel ID="u1" runat="server">
<ContentTemplate>











<tr>
<td colspan="2">
        <asp:UpdateProgress ID="up1" runat="server" AssociatedUpdatePanelID="u1">
        <ProgressTemplate>
        <div align="center" style="color: #000000">
        <img src="images/progress.gif" align="middle" height="20" /> Loading ...
        </div>
        </ProgressTemplate>
        </asp:UpdateProgress>
</td>
</tr>








因此,您可以在网页的设计时间中使用以上代码.

希望这对您有帮助...否则请发布...

谢谢.








so, you can use above code in Design time of web page.

hope this will help you... if not then post it...

Thanks..


这篇关于显示“正在加载..."网页处理过程中的消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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