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.
|
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\_i2It explains this in great detail. Thanks
|
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?
|
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
|