将进度条添加到网页 [英] Adding progress bar to web page

查看:84
本文介绍了将进度条添加到网页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试向我的网页添加进度条以显示导出操作期间的进度。虽然当我到达我的代码中的地方,我尝试将进度条添加到我的页面时,我收到以下错误:



类型'系统的值.Windows.Forms.ProgressBar'无法转换为'System.Web.UI.Control'



来自这行代码



Me.Controls.Add(Progress1)



如何向我的网页添加进度条?任何建议都非常感谢

I'm trying to add a progress bar to my web page to display the progress during an export operation. Though when i get to the place in my code where i try to add the progress bar to my page i'm getting the following error:

Value of type 'System.Windows.Forms.ProgressBar' cannot be converted to 'System.Web.UI.Control'

From this line of code

Me.Controls.Add(Progress1)

How can i go about adding a progressbar to my webpage? Any suggestions are greatly appreciated

推荐答案

查看使用这些进度条的另一种方法..

一个简单的进度条Web用户控件 [ ^ ]

http://support.microsoft.com/kb/323088 [ ^ ]

http://www.dotnetspider.com/resources/31983-Progress-bar-ASP-NET.aspx [ ^ ]
See some alternate way for using a progress bar from these..
A simple progress bar web user control[^]
http://support.microsoft.com/kb/323088[^]
http://www.dotnetspider.com/resources/31983-Progress-bar-ASP-NET.aspx[^]


HTTP:// forums.asp.net/p/1380129/2915571.aspx [ ^ ]



通过阅读本文你可以有所了解
http://forums.asp.net/p/1380129/2915571.aspx[^]

you can some idea by reading this article


这篇关于将进度条添加到网页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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