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

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

2 Answers 86 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Michael Hunt
Top achievements
Rank 1
Michael Hunt asked on 18 Dec 2009, 12:00 PM
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 Answers, 1 is accepted

Sort by
0
Michael Hunt
Top achievements
Rank 1
answered on 18 Dec 2009, 12:15 PM
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.
0
Svetlina Anati
Telerik team
answered on 18 Dec 2009, 12:37 PM
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.
Tags
ToolTip
Asked by
Michael Hunt
Top achievements
Rank 1
Answers by
Michael Hunt
Top achievements
Rank 1
Svetlina Anati
Telerik team
Share this question
or