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

Tool Tip Renders wrong first time

1 Answer 25 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Adam Heeg
Top achievements
Rank 1
Adam Heeg asked on 18 May 2010, 04:47 PM
<telerik:RadToolTip   
                ID="rttSearchCriteria" 
               runat="server" 
              HideDelay="500" 
              ManualClose="true" 
              Position="MiddleRight" 
              Animation="Resize" 
              RelativeTo="element" 
              ShowCallout="true" 
              ShowDelay="200" 
              ShowEvent="OnClick" 
            EnableEmbeddedSkins="true" 
              TargetControlID="lblSearchCriteria">  
                
              <asp:Label ID="lblSearchString" runat="server"  /> 
              </telerik:RadToolTip> 

There is my tooltip code.  In the code behind I assign a formated string to the label.  The first click of the target control pops up the tool tip, but the styles are not applied.  The second click of it then does correctly display the content and format.  Attached are first and second click images.

1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 21 May 2010, 09:14 AM
Hello Adam,

What I can suggest is to set explicit Width and Height and test again. If this does not help, please share fully runnable code here so that I can built up  a test demo because I see form your screenshot that the first time you show the tooltip it does not  have any content and I cannot explain while it is empty and with that size.


Sincerely yours,
Svetlina
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
ToolTip
Asked by
Adam Heeg
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or