显示等待迹象,直到数据加载到Silverlight中 [英] Show Waiting Sign Until data Loaded in Silverlight

查看:88
本文介绍了显示等待迹象,直到数据加载到Silverlight中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我有一个Silverlight应用程序,其中页面加载后需要2到3秒的时间才能将数据加载到页面中.我要做的就是直到数据加载到页面中时我要显示等待迹象...

以前有人遇到过这个问题吗?

任何人都可以帮忙!!!!!!

谢谢,
当您异步调用数据库时,Prasant

Hi All,

I have a Silverlight Application where after the Page is loaded its taking a bit time like 2 or 3 seconds to load the data into the Page.What i wanted to do is until the data is loaded into the page i want to show the waiting sign...

Did anyone faced this problem before???

Can anyone help on this please!!!!

Thanks,
Prasant

推荐答案

,并且响应进入结果事件.您可以配置为使用等待..."文本隐藏显示任何标签控件.

您可以在调用数据库之前显示标签控件,然后在结果响应事件中将其隐藏.
as you are calling the DB asynchronously, and the response come in the result event. You can configure to hide-show any lable control with "Wait..." text.

You can Show the lable control just before calling the DB, and Hide it in the result response event.


使用可以在Silverlight工具包中使用忙碌控件"
Use can use the Busy Control in the Silverlight Toolkit


除了Silverlight Toolkit之外,Blacklight控件还有一个加载动画控件,您也可以使用.
Apart from the Silverlight Toolkit, Blacklight controls have a loading animation control that you could use as well.


这篇关于显示等待迹象,直到数据加载到Silverlight中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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