如何在asp.net的弹出窗口中显示加载图像和消息 [英] how to show loading image and message in popup window in asp.net
问题描述
大家好,
在我的一个页面上,我有一个使用javascript实现的弹出窗口。弹出窗口的内容html是动态地从数据库中检索的。一切正常,但有一个小问题:即将到来的数据需要大约20-40秒,弹出页面在此期间是空白的,这会让用户感到困惑。
我想显示'正在加载。 。在页面加载期间,请等待。不要关闭窗口。'弹出页面中的消息(或动画图像,并不重要)。有办法吗?
提前谢谢。
Hello everyone,
On one of my pages I've got a popup window implemented using the javascript. The content html of the popup is retrieved from a database dynamically . Everything works fine, however there is a minor problem: coming data takes about 20-40 seconds and the popup page is blank during this time, which confuses the users.
I would like to display 'Loading..Please wait.Do not close window.' message in the popup page (or an animated image, does not really matter) during the page loading. Is there a way to do it?
Thanks in advance.
推荐答案
这可能对你有帮助......
http:// www。 jquerybyexample.net/2012/06/show-loading-image-while-page-is.html [ ^ ]
http://www.aspsnippets.com/Articles/Display -loading-image-while-PostBack-calls-in-ASPNet.aspx [ ^ ]
this might help you...
http://www.jquerybyexample.net/2012/06/show-loading-image-while-page-is.html[^]
http://www.aspsnippets.com/Articles/Display-loading-image-while-PostBack-calls-in-ASPNet.aspx[^]
这篇关于如何在asp.net的弹出窗口中显示加载图像和消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!