如何在整个项目中使用进度条 [英] how to use progress bar in overall project
本文介绍了如何在整个项目中使用进度条的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我需要进度条,因为我在我的页面master.how中使用了我的整个代码。我可以在我的buttonclick中调用它以及页面加载
hi to all,
I need progress bar for my overall.below code i used in my page master.how to call this in my buttonclick as well as page load
<asp:UpdateProgress runat="server" ID="uProcess1">
<ProgressTemplate>
<progresstemplate>
<div id="divLoading" class="divCenter" >
<img id="imgLoading" src="App_Themes/DefaultTheme/Images/main-loader.gif" align="absmiddle" vspace="0" hspace="0" style="vertical-align:middle" />
</div>
</progresstemplate>
</ProgressTemplate>
</asp:UpdateProgress>
可以在所有页面中调用此ID按钮和pageload.because我有超过50页,所以我无法逐一或任何其他方式对所有这些进度条。请告诉我。
it is possible to call this id in all page buttonclick and pageload.because i have more than 50 pages so i cant do one by one or any other way to all this progress bar.Kindly tell me.
推荐答案
首先,这有效吗?
我看到progresstemplate标签两次。
Hi,
first of all, is this working?
I see progresstemplate tags twice.
<ProgressTemplate>
<progresstemplate>
<div id="divLoading" class="divCenter" >
<img id="imgLoading" src="App_Themes/DefaultTheme/Images/main-loader.gif" align="absmiddle" vspace="0" hspace="0" style="vertical-align:middle" />
</div>
</progresstemplate>
</ProgressTemplate>
一次你的母版页上有一个进度模板,所有的子页面都应该是好的。
希望这会有所帮助。
快乐编码!
Once you have a progress template in your master page, it should be good to go for all the child pages.
Hope this helps.
Happy coding!
这篇关于如何在整个项目中使用进度条的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文