This is a migrated thread and some comments may be shown as answers.

Disabling Ajax Error Message

2 Answers 62 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Patrick McDavid
Top achievements
Rank 1
Patrick McDavid asked on 18 May 2010, 03:30 PM
I have a situation where the user triggers a tooltip by mousing over an element and then clicks the same element to go to a new page. It seems that in the moment while the tooltip has been requested and then the page abandoned (via the click) the tooltipmanager fires and Alert stating:
RadToolTipManager response error:
Exception=The server method 'GetpersonToolTipContent' failed

I'd really like for this to fail silently. Is there a way to silence failure alert messages from the ToolTipManager?

2 Answers, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 18 May 2010, 04:37 PM
Hello Patrick McDavid,

We recently introduced a client event for the RadToolTipManager called OnClientResponseError as documented below:

http://www.telerik.com/products/aspnet-ajax/whats-new/release-history/q3-2009-sp1-version-2009-3-1208.aspx

You can cancel the alert there by using the arguments as args.set_cancelErrorAlert(true) and then handle the exception as you want, e.g redirect to another page, show a radalert, etc.



Kind regards,
Svetlina
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.
0
Patrick McDavid
Top achievements
Rank 1
answered on 18 May 2010, 04:40 PM
Thank you sir! I'll give it a try
Tags
ToolTip
Asked by
Patrick McDavid
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Patrick McDavid
Top achievements
Rank 1
Share this question
or