issues with tooltip

2 posts, 0 answers
  1. Paul Eaklor
    Paul Eaklor avatar
    1 posts
    Member since:
    Mar 2004

    Posted 26 Jul 2007 Link to this post

    Hi,

    I am having 2 issues with tooltip.

    1. I use the Tooltip entirely in code-behind.  In one case there is a usercontrol where I create the tooltip manager and generate the tooltip for individual elements and bind the client id using radToolTipManager1.TargetControls.Add. I then bind the radToolTipManager to a Placeholder control. The problem here is for the first load, the ToolTip appears fine but whenever there is a postback, the tooltip disappears and I get the IE's tooltip (like Alt on the Element)
    One requirement of the application I am working with is I have to repaint the entire content of the user control so on every postback, I do
    phToolTipManagerPlaceholder.Controls.Clear();
    //(phPlaceholder is the Placeholder to which the ToolTipManager is bounded)
    radToolTipManager1.Controls.Clear();

    Is there a better way to implement the Tooltips for postbacks and a way to ensure the ToolTipManager is always cleared?

    2. I noticed the issue in Firefox and not sure if its me. This occurs in Firefox on one of the Samples. http://www.telerik.com/DEMOS/ASPNET/Prometheus/ToolTip/Examples/ShowEvent/DefaultCS.aspx
    The first page load is fine, but when there is a postback (click on the submit there is no ToolTip Text).
    It looks like the screenshot below.
    http://img171.imageshack.us/img171/7127/tooltiphl4.jpg

    I do notice when I debug using Firebug, the hidden DIVs that are rendered for Tooltips not having the content. Is there a way to fix this.

    Thanks so much in advance.          


  2. Tsvetie
    Admin
    Tsvetie avatar
    1517 posts

    Posted 30 Jul 2007 Link to this post

    Hello Paul Eaklor,
    Straight to your questions:
    1. I am not sure I understand your scenario correctly. Do you mean that you create the RadTooltipManager in the code behind and recreate it on every postback; however, after the first postback - the required elements are not tooltipified? If this is the case, we will need additional information in order to solve the issue. For example, when do you create the controls. It would be best in case you can prepare and send us a simple project, demonstrating this issue. We will review it and get back to you as soon as possible.
    2. Thank you for pointing this out to us. We will research the issue and try to fix our online example as soon as possible. In the meantime, in case you set:
      EnableViewState="false" 
       for the RadToolTipManager, you will get the desired result.
    Kind regards,
    Tsvetie
    the Telerik team

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