Standard browser Tooltips don't display after Ajax postback, with RadTooltipManager

3 posts, 0 answers
  1. Michael Hunt
    Michael Hunt avatar
    42 posts
    Member since:
    Aug 2009

    Posted 18 Dec 2009 Link to this post

    Hi,

    I am using ASP.NET controls for AJAX v2008.3.1105.35.  I have an aspx page that contains a RadTooltipManager, RadAjaxManager, Radgrid, RadTreeView, some checkboxes and option buttons.  All controls are within various ASP Panel, and all are ajaxified.

    I use the RadTooltipManager to display a tooltip on a single img.  The RadToolTip always displays correctly when I hover over the image, ever time.

    PROBLEM:
    On initial page load, the "standard browser tooltips" display correctly.  However, when I do any ajax postback from any control on that page, the standard browser tooltips no longer display (until I do a full page load again).  For example, I have tooltips on the column headers in the grid and if I click on the column header to do a sort (ajax postback), none of the standard tooltips display on the grid (nor do they display on the other controls that are updated by ajax).  Or, if I click on a checkbox that does an ajax postback and updates the panel that contains the checkbox and the grid, the tooltips on the controls in those panels no longer display unless I do a full page postback.

    If I disable the RadToolTipManager, all tooltips display after all ajax postbacks.

    What is the issue?  Is there something I need to do so that the RadtooltipManager won't affect my standard tooltips?

    My RadTooltipManager has the following settings:

    <

     

    telerik:RadToolTipManager ID="CommentToolTipManager" runat="server" Position="MiddleRight" AutoTooltipify="false"

     

     

    ShowCallout="false" ShowEvent="FromCode" HideEvent="LeaveToolTip" ContentScrolling="Y" OffsetX="15"

     

     

    Animation="None" Width="525px" Height="180px" RelativeTo="Element" Skin="Vista" >

     

     

    <WebServiceSettings Method="GetTaskCommentToolTipData" Path="~/WebServices/APTaskCommentWS.asmx" />

     

    </

     

    telerik:RadToolTipManager>

     

  2. Michael Hunt
    Michael Hunt avatar
    42 posts
    Member since:
    Aug 2009

    Posted 18 Dec 2009 Link to this post

    I've solved this so you can disregard this post.

    Once I also ajaxified the tooltipmanager (made it an updated control) for all ajax postbacks, all tooltips displayed after ajax postbacks.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 18 Dec 2009 Link to this post

    Hello Michael,

    Indeed, when you update the target controls you should always update the RadToolTipManager in ordre to update its TargetControls collection sas well - otherwise it will "search" for the "old" target controls. You can find a demo which highlights this below:

    http://demos.telerik.com/aspnet-ajax/tooltip/examples/targetcontrolsandajax/defaultcs.aspx

    All the best,
    Svetlina
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top