如何在没有更新面板的情况下完成回发后显示加载图像 [英] How Do I Display Loading Image Until The Postback Finishes Without Update Panel

查看:71
本文介绍了如何在没有更新面板的情况下完成回发后显示加载图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好所有



我在回发时看到显示加载图像的示例数量。仅在回发开始时显示加载图像,直到回发结束。他们还使用了线程概念。并且加载图片只显示给定的线程时间。



但我的问题是:

如何在回发结束前显示加载图像没有更新面板。

请帮忙。



提前致谢。

hello all

I saw numbers of example for display loading image while postback .it only show loading image while starting of postback not until the postback finishes. and they also used thread concept. and loading image show only given thread time.

but my question is that:
how do i show a loading image until the postback finishes without update panel .
please help.

Thanks in advance.

推荐答案

使用ajax方法................. :)并做 xhr 请求
use ajax method.................:) and do a xhr request


检查在ASP.Net中的PostBack调用时显示加载图像 [ ^ ]


我用google搜索asp.net show image when when postback,这里有一些结果



http://www.mredkj.com/vbnet/AnimatedGifOnPostback.html [ ^ ]



http://www.aspsnippets.com/Articles/Display-loading-image-while-PostBack-calls-in-ASPNet.aspx [ ^ ]



http://forums.asp。 net / t / 1488683.aspx?在+回发期间显示+ a +等待+图像+ [ ^ ]



如果这些都没有,还有更多你的想象力。
I googled "asp.net show image when postback" and here are some results

http://www.mredkj.com/vbnet/AnimatedGifOnPostback.html[^]

http://www.aspsnippets.com/Articles/Display-loading-image-while-PostBack-calls-in-ASPNet.aspx[^]

http://forums.asp.net/t/1488683.aspx?Show+a+waiting+image+during+postback[^]

There are many more if none of these take your fancy.


这篇关于如何在没有更新面板的情况下完成回发后显示加载图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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