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

RadToolTipController error handling

1 Answer 41 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Coy
Top achievements
Rank 1
Coy asked on 07 Dec 2010, 07:33 PM
Hi,

I'm using a tooltip along with RadToolTipManager.  On some instances, the saving of a tooltip is unsuccessful and I'm not completely sure why. 

I've a got a button that does a postback which is caught in the OnAjaxUpdate event.

There is no error generated when the save is unsuccessful.

How does RadToolTipManager handle errors?  Is there a way to catch those ajax errors that might occur?

Thanks,

Coy

1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 09 Dec 2010, 10:14 AM
Hello Coy,

 We introduced a new client event for the RadToolTipManager called OnClientResponseError in Q3 2009 SP1 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.

Best wishes,
Svetlina
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
ToolTip
Asked by
Coy
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or