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

issues with tooltip

1 Answer 166 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Paul Eaklor
Top achievements
Rank 1
Paul Eaklor asked on 26 Jul 2007, 12:19 PM
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.          


1 Answer, 1 is accepted

Sort by
0
Tsvetie
Telerik team
answered on 30 Jul 2007, 02:50 PM
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
Tags
ToolTip
Asked by
Paul Eaklor
Top achievements
Rank 1
Answers by
Tsvetie
Telerik team
Share this question
or