Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > XmlHttpPanel > How do I Prevent Error method on Cancel

Not answered How do I Prevent Error method on Cancel

Feed from this thread
  • Posted on Oct 5, 2010 (permalink)

    Ok, lets say I have a callback to a webservice going on and I then click a Linkbutton on the page to nav away from it...so the callback fails, and it triggers my clientside error handler which makes my custom error text appear.   To my users, something seems broken...when really its just because they canceled the request (essentially)

    Is there a way to detect a user interruption in my error handler so I can just silently fail it?  I normally dump some text or an image into the container inside my error handlers (clientside ones) so it's pretty obvious to them something funky was going on :)

    Reply

  • Pero Pero admin's avatar

    Posted on Oct 8, 2010 (permalink)

    Hi Steve,

    Besides, getting the actual error message from the server, there is nothing you can do to determine how the error arose, in the event handler of the OnClientResponseError client-side event. The error can be retrieved from the eventArgs parameter, using the args.get_errorMessage() method.

    You could open a support ticket, and send us a sample project to demonstrate your specific scenario, and we can try to suggest an approach to resolve the issue.


    Best wishes,
    Pero
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > XmlHttpPanel > How do I Prevent Error method on Cancel