如何在用户控件上显示进度条直到加载? [英] How to display progress bar on usercontrols till they loads ?
本文介绍了如何在用户控件上显示进度条直到加载?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我创建了一个显示6个用户控件的仪表板,每个用户控件来自用户控件//我想要做的是......他们正在加载一个一个...直到我想在这个控件上显示一些prgress栏如果他们正在借用...
Hi ,
I have create one dashboard which displays 6 usercontrols and each coming from usercontrols // what i want to do is .. they are loading one by one ... till that i want to show some prgress bar on this controls if they are loaing ...
推荐答案
这些链接可能会帮助你
http://devarchive.net/loading_user_controls_using_with_page_methods.aspx [ ^ ]
http://encosia.com/boost-aspnet-performance-with-deferred-content-loading/ [ ^ ]
甚至动态加载g UserControl和添加到Update面板是另一种方法。
These links might help you
http://devarchive.net/loading_user_controls_using_with_page_methods.aspx[^]
http://encosia.com/boost-aspnet-performance-with-deferred-content-loading/[^]
Even dynamically loading UserControl and adding to the Update panel is another approach.
你可以尝试Ajax更新面板。在你的用户控制之后,在你的表单上放一个简单的Ajax面板drop.Drop。当ajax面板更新你可以显示一个Gamil.com进度条的进度条。更多信息检查这个链接.. http://www.asp.net/web-forms/tutorials/aspnet-ajax/understanding-asp-net-ajax-updatepanel-triggers [ ^ ]
用于回复任何错误提及的回复。
you can try Ajax update panel.A simple Ajax Panel drop and Drop on your form, after then your user control in it.When ajax panel is update you can show a progress bar like that a Gamil.com Progress bar.more information check this link..http://www.asp.net/web-forms/tutorials/aspnet-ajax/understanding-asp-net-ajax-updatepanel-triggers[^]
for any query hit to reply with error mention.
这篇关于如何在用户控件上显示进度条直到加载?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文