Welcome Guest Search | Active Topics | Sign In | Register

Exception handling in ProgessBar RunTask Options
Mike Wynn
Posted: Thursday, June 26, 2014 9:20:26 AM
Rank: Advanced Member
Groups: Member

Joined: 8/24/2007
Posts: 130
Hi,

We have an exception handling strategy in our application that will use the Page_OnError event to pass any exception through to our exception handling module.

During ProgressBar RunTask, this strategy does not work. What are your recommendations for exception hadling within this method? Ideally I would like to be able to redirect the user to an error page.

Regards
eo_support
Posted: Thursday, June 26, 2014 1:13:24 PM
Rank: Administration
Groups: Administration

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

You will have to send some information to the client side and then use JavaScript on the client side to do the redirection. See here for an example:

http://demo.essentialobjects.com/Demos/Progress%20Bar/Server%20Side%20Task%20-%20Advanced%201/Demo.aspx

You can find more information in the "Remark" section and also the comment in the source code.

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.