Welcome Guest Search | Active Topics | Sign In | Register

Progress bar Options
Jake
Posted: Thursday, June 19, 2008 11:30:13 AM
Rank: Newbie
Groups: Member

Joined: 12/1/2007
Posts: 2
Hello!

I'm having a problem with the progress bar component. It works fine on my local server, however when I publish to the web, the code in the "run Task" event never gets called, the page simply sits there for a bit, and then the javascript event I have set up to handle completion is called. Locally the page is running under http. On the server, the page is running under https. I don't know when this started happening, but I do know that it did work at one time. I'm not sure that it makes a difference, because I'm also using a page that uses the ajax file uploader component that works fine on both my local machine as well as the server.

I've checked out the post here:
http://www.essentialobjects.com/Forum/Default.aspx?g=posts&t=1253

as well as modified my web.config as mentioned in another post.

Anyway, I'm sure this is a server issue, however, I have no clue where to start looking. Any tips or pointers would be greatly appreciated!
eo_support
Posted: Thursday, June 19, 2008 11:38:18 AM
Rank: Administration
Groups: Administration

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

I am not sure if I got your question correctly because your title says "JavaScript error" while your post didn't mention any JavaScript errors.

If there is no JavaScript error, then most likely it's caused by your server side RunTask not moving the progress bar. The ProgressBar won't move by itself. Your have to repeatly call e.UpdateProgress to move it.

If that doesn't appear to be problem, we will need you to put the page online so that we can see the problem. That way we might be able to spot something for you.

Thanks
Jake
Posted: Friday, June 20, 2008 6:28:29 AM
Rank: Newbie
Groups: Member

Joined: 12/1/2007
Posts: 2
Hello again!

Sorry about the vagueness of my previous message. I did some more testing, and found out that it was in fact my code in the runtask method that was causing the issue. I didn't realize that if an exception was thrown in this method, the error handler in global.asax wouldn't be called, thus the appearance that the issue was with the progress bar.

Everything is working correctly now. Thank you again for your prompt response.

Jake
eo_support
Posted: Friday, June 20, 2008 9:38:15 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
That's cool. Thanks for the update!


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.