Tool tip popping up unexpectedly

2 posts, 1 answers
  1. Oliver
    Oliver avatar
    14 posts
    Member since:
    Nov 2007

    Posted 15 Feb 2008 Link to this post

    I'm using the Tool Tip Manager to show a tool tip when a person clicks on a link in a repeater.  The repeater is within an update panel.

    Now, everything works well when I have data in the repeater.  I click on the link, the tool tip shows up, I click on a link within the tool tip panel which calls a server side function and my update panel and repeater refreshes.  Looks great!

    However!  When I have no data in the repeater, if I click elsewhere on the page, such as my main logo image which links to default.aspx, or if I click on the Rad Scheduler which I also have on that page, the tool tip pops up!

    I'm not sure how the tool tip is being raised in this case.  I'd like to know, or perhaps force the tool tip manager to be disabled if there are no items in the repeater.

    Hope you can advise!


  2. Answer
    Tsvetie
    Admin
    Tsvetie avatar
    1517 posts

    Posted 15 Feb 2008 Link to this post

    Hello Oliver,
    This behavior is by design - in case the TargetControls collection of the RadToolTipManager is empty, the manager tooltipifies all elements on the page that have a Title/ToolTip attribute. In case you do not want to use this feature, you should set the Visible property of the manager to false, when that collection is empty, and set it back to true as soon as you add IDs to it.

    All the best,
    Tsvetie
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top