如何显示动画GIF以进行WCF服务呼叫的漫长过程 [英] How to show animated gif for long process of wcf service call

查看:85
本文介绍了如何显示动画GIF以进行WCF服务呼叫的漫长过程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我对这个问题有点失望.花了将近3天的时间.
如何获取动画gif以进行WCF服务的长时间调用
我的wcf调用试图从数据源检索数据的服务时,我需要显示gif处于动画状态(例如,正在加载...).填充数据后,我希望我的gif不可见.仅此而已.
但在这里我的头发已经露出来了:(.请帮助我
在此先感谢

HI all,

I''m a bit down for this problem .took nearly 3 days.
How to get animated gif for long process call for wcf service
I need to show gif being animated (eg,loading... ) while my wcf call the service which is trying to retrieve the data from datasource. after data populated, i want my gif invisible.that''s all.
but here my hair come out already for this :( . please help me
thanks in advance

推荐答案

这是一个网站吗?您不是说是这样,WCF也不是那样.如果是这样,那么很简单,您只需显示图像,然后浏览器即可对其进行动画处理.所以,我认为不是.我建议查看一下Code Project上的某个类,该类在您的winforms应用程序中显示动画gif.
Is this a website or not ? You don''t say that it is, and WCF does not mean that it is. if it is, then it''s easy, you just show the image and your browser animates it. So, I think it''s not. There''s a class on Code Project somewhere for showing animated gifs in your winforms app, I suggest looking at that.


您可以使用jquery进行此操作.
检查下面的链接.
display-loading-gif-image-while-loading [^ ]
loading-image-with-ajax [ creating-a-loading-image-while-ajax-loads [ ^ ]
You can do this with jquery.
Check links below.
display-loading-gif-image-while-loading[^]
loading-image-with-ajax[^]
creating-a-loading-image-while-ajax-loads[^]


这篇关于如何显示动画GIF以进行WCF服务呼叫的漫长过程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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