Disabling Ajax Error Message

3 posts, 0 answers
  1. Patrick McDavid
    Patrick McDavid avatar
    4 posts
    Member since:
    Feb 2010

    Posted 18 May 2010 Link to this post

    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. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 18 May 2010 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Patrick McDavid
    Patrick McDavid avatar
    4 posts
    Member since:
    Feb 2010

    Posted 18 May 2010 Link to this post

    Thank you sir! I'll give it a try
Back to Top