Welcome Guest Search | Active Topics | Sign In | Register

Progress Bar Help! Options
Curt DeMott
Posted: Friday, June 12, 2009 4:35:29 PM
Rank: Newbie
Groups: Member

Joined: 6/12/2009
Posts: 1
Hi - this is my first time trying to implement one of your controls and I'm very confused. I have a ProgressBar control on my page along with a ASP FileUpload control. I also have a single button the performs the upload.

This is my ASPX page:

<body>
<form id="form1" runat="server">
<div>
<asp:FileUpload ID="FileUpload1" runat="server" /><asp:Button ID="btnUpload" runat="server"
Text="Upload Doc" />
<eo:ProgressBar ID="ProgressBar1" runat="server" Width="250px" IndicatorColor="#000099" ShowPercentage="True" StartTaskButton="btnUpload">
</eo:ProgressBar>

</div>
</form>
</body>

Can someone show me there code behind page (in VB.NET) that makes the progress bar work?

I wish I could find an example online but I've had no luck. Please help.
eo_support
Posted: Friday, June 12, 2009 4:55:01 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

ProgressBar requires you to report the progress, it does not move by itself. Here is an example demonstrating how to use it:

http://demo.essentialobjects.com/Default.aspx?path=ProgressBar\progressbar_runtask

You can check the full source code of all the samples to see how it works. The source code for all the demos are installed on your local machine.

It's not likely that you will be able to use it together with asp FileUpload to implement file uploading with progress because you have no way of getting progress information from FileUpload control, which means you have no way of notifying the ProgressBar control of your upload progress.

Getting file upload progress information is much more complicated than show the progress bar. We have an AJAXUploader control that is specifically built for that. However you will need a license to use that control.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.