Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 510451
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T07:06:54+00:00 2026-05-13T07:06:54+00:00

My problem is related to using the JQuery Tools Tooltip Plugin ( http://flowplayer.org/tools/tooltip.html )

  • 0

My problem is related to using the JQuery Tools Tooltip Plugin (http://flowplayer.org/tools/tooltip.html) on items with tooltips that are refreshed in asp.net UpdatePanel controls. The problem is that after the tooltips have been added, any partial postback from an UpdatePanel will cause the tooltips to stop working in any of the UpdatePanels that were updated. The tooltips work great until a partial postback. Below is an example of how I am adding tooltips to images (and other controls) on the page. Some code has been ommitted for simplicity:

<script type="text/javascript">
//--call this to add tooltips to any element with a class of "tooltipHandle"
function createTooltip(){

    // select all desired input fields and attach tooltips to them
    $(".tooltipHandle").tooltip({
    // place tooltip on the right edge
    position: ['center', 'right'],
    // a little tweaking of the position
    offset: [-2, 10],

    // use a simple show/hide effect
    effect: 'toggle',

    // custom opacity setting
    opacity: 0.7
    });

}

//--add tooltips after every postback (including partial AJAX postbacks)
function pageLoad(sender, args) {
    createTooltip(); 
}
</script>

<html>
<!-- assume this UpdatePanel is updated from the code behind--!>
<asp:UpdatePanel runat="server" UpdateMode="Conditional" ID="upPanelPrivateMediaList">
    <ContentTemplate>
    <img class="tooltipHandle" src="/images/questionMark.gif"/>
    <div class="tooltip">SOME GREAT TOOLTIP CONTENT</div>

    </ContentTemplate>
</asp:UpdatePanel>   

</html>

One thing that is very interesting is that if I do NOT call “createToolTip()” the first time the page loads, a partial postback will properly add the tooltip to my image and it will work until I do a second postback. This means that partial postbacks only hose up tooltips if the tooltips already exist. Calling createToolTip() manually after a partial postback does nothing to get the tooltip working again.

Please let me know if you have any ideas or need clarification. Thanks in advance!!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T07:06:54+00:00Added an answer on May 13, 2026 at 7:06 am

    As jakejgordon said, caching elements won’t work because after a partial update, they’re not the same elements anymore.

    Have you considered using event delegation model? You don’t need to keep binding events each time there is a partial update. Here’s an interesting article – http://www.learningjquery.com/2009/12/simple-tooltip-for-huge-number-of-elements

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using a jQuery plugin that has an event handler whose return function
I have an html/jsp form that I am serializing(using jquery) and passing to a
I believe I am having a security problem related to using the embed tag
I'm using EJB3 and I have a problem related to refreshing my EntityManager .
I am checking problem related to rendering and fonts. Comments in GraphicsEnvironment.html#getAllFonts() mentions '
I'm using the qTip plugin for jQuery. Using the following function it cycles through
I'm using the BBQ jquery plugin for AJAX history management, but I'm having a
Though I use CouchDB-specific JQuery verison, the problem can appear to be not related
I have a problem to run a second process that run under JQuery as
I'm having a secluded problem. I was creating a UI for something using jQuery

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.