Bug Tracker

Opened 14 years ago

Closed 13 years ago

Last modified 11 years ago

#3768 closed bug (invalid)

[tooltip] Tooltip in UserControl with an UpdatePanel disappears

Reported by: klogan Owned by:
Priority: major Milestone: 1.3
Component: unfiled Version: 1.2.6
Keywords: updatepanel, usercontrol, .net Cc:
Blocked by: Blocking:


I am using the tooltip from http://bassistance.de/jquery-plugins/jquery-plugin-tooltip/ in .NET, inside of a UserControl. The UserControl has an UpdatePanel inside of it that is triggered by a button. After clicking the button and causing the AJAX update post back, the tooltips are not displayed. The events are firing, but there is a problem in the javascript code for this situation.

  1. after the AJAX postback, in the update function, the current property is null, so the function returns and no tooltip is then displayed.

To fix this I added two fixes (see the attached file and search for custom).

  1. I added this to the $.fn.extend function - this.each(function() {


if (((typeof(this.toolTipText) == "undefined")
this.toolTipText == "") && this.title != "") {

this.tooltipText = this.title;


  1. I needed to force the helper class to be recreated, so in the createHelper function I added this:

custom if (helper.parent) {

helper.parent = null;


Using these fixes/hacks will lose some of your performance gains from checking for the helper.parent and reusing (instead of recreating it), so there might be better way of addressing this issue. The scenario could be quite common for .Net developers, but not for other language developers. Is it worth putting in the trunk of the code?

Attachments (1)

jquery.tooltip.js (10.0 KB) - added by klogan 14 years ago.
the tooltip javascript file with the proposed fixes (search for custom)

Download all attachments as: .zip

Change History (2)

Changed 14 years ago by klogan

Attachment: jquery.tooltip.js added

the tooltip javascript file with the proposed fixes (search for custom)

comment:1 Changed 13 years ago by dmethvin

Resolution: invalid
Status: newclosed

This is not a jQuery core bug. Please use the jQuery forums or contact the author via the method they request. For jQuery UI plugins, please file a bug on http://dev.jqueryui.com .

Note: See TracTickets for help on using tickets.