Welcome Guest Search | Active Topics | Sign In | Register

ASP label doesn't update with Progress Bar Options
David
Posted: Tuesday, July 29, 2008 7:40:50 AM
Rank: Newbie
Groups: Member

Joined: 7/29/2008
Posts: 2
Hello EO,

I would like to use your Progress Bar for a rather long task that actually converts an uploaded file into a different format. I have put all of my code into the Progress Bar's Run Task event handler. Within my code, I do several checks to ensure it is the right type of file. For example, if a person tried to push the upload button without selecting a file first, the ASP label I have should display "Please choose a file." However, none of the text I put into the code for the ASP label is showing up, but the progress bar is updating so I know it's going through my code. I was hoping there would be a way to update the text of my ASP label from my code-behind page rather than using JavaScript to write the text. Any light you can shed on this issue would be greatly appreciated.

Regards,

David F. Weiss
Web Application Developer
Gigmasters.com, Inc.
eo_support
Posted: Tuesday, July 29, 2008 7:55:55 AM
Rank: Administration
Groups: Administration

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

Please take a look of the comment in the VB/C# code tab of this sample:

http://www.essentialobjects.com/Demo/Default.aspx?path=ProgressBar\_i2

It explains this in great detail.

Thanks
David
Posted: Tuesday, July 29, 2008 8:04:23 AM
Rank: Newbie
Groups: Member

Joined: 7/29/2008
Posts: 2
Okay, I got my label to work using the ExtraData property on the UpdateProgress function. Any way I could change the color of the text to red for an error and green for success either in VB or JavaScript?
eo_support
Posted: Tuesday, July 29, 2008 9:25:48 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,193
Hi David,

Thanks for posting in the forum. But that would really be out of the scope of our support. We provide the ProgressBar and provide a mean for you to pass any data to the client side. How to use that data would be completely up to you.

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.