Hello,
I have a problem with the tooltip positioning with some elements on my page. I am using the TooltipManager and execute a method on the OnAjaxUpdate event. This method will dynamically set the text of the tooltip based on the item and the client's access. The text will either be one sentence long or one paragraph long. If it is one sentence long it works fine, if it is one paragraph it does not position correctly. I have Animation set to 'none'. Before it was set to 'fade', this worked but it was slow and initially it was positioned wrong but after a second was positioned correctly. How do I get this to position correctly with Animation set to 'none'. Here is my sample code:
<telerik:RadToolTipManager ID="rttmTooltip"
runat="server"
Height="50px"
Width="300px"
ShowEvent="onMouseOver"
HideEvent="LeaveToolTip"
Animation="None"
Position="MiddleRight"
RelativeTo="Element"
OffsetY="-3"
OnAjaxUpdate="rttmTooltip_AjaxUpdate"
Skin="Vista"
AutoCloseDelay="200000" >
<TargetControls>
<telerik:ToolTipTargetControl IsClientID="false" TargetControlID="dApples" value="Apples"/>
<telerik:ToolTipTargetControl IsClientID="false" TargetControlID="dBananas" value="Bananas"/>
<telerik:ToolTipTargetControl IsClientID="false" TargetControlID="dPears" value="Pears"/>
<telerik:ToolTipTargetControl IsClientID="false" TargetControlID="dOranges" value="Oranges"/>
</TargetControls>
</telerik:RadToolTipManager>
Thanks,
Michael
I have a problem with the tooltip positioning with some elements on my page. I am using the TooltipManager and execute a method on the OnAjaxUpdate event. This method will dynamically set the text of the tooltip based on the item and the client's access. The text will either be one sentence long or one paragraph long. If it is one sentence long it works fine, if it is one paragraph it does not position correctly. I have Animation set to 'none'. Before it was set to 'fade', this worked but it was slow and initially it was positioned wrong but after a second was positioned correctly. How do I get this to position correctly with Animation set to 'none'. Here is my sample code:
<telerik:RadToolTipManager ID="rttmTooltip"
runat="server"
Height="50px"
Width="300px"
ShowEvent="onMouseOver"
HideEvent="LeaveToolTip"
Animation="None"
Position="MiddleRight"
RelativeTo="Element"
OffsetY="-3"
OnAjaxUpdate="rttmTooltip_AjaxUpdate"
Skin="Vista"
AutoCloseDelay="200000" >
<TargetControls>
<telerik:ToolTipTargetControl IsClientID="false" TargetControlID="dApples" value="Apples"/>
<telerik:ToolTipTargetControl IsClientID="false" TargetControlID="dBananas" value="Bananas"/>
<telerik:ToolTipTargetControl IsClientID="false" TargetControlID="dPears" value="Pears"/>
<telerik:ToolTipTargetControl IsClientID="false" TargetControlID="dOranges" value="Oranges"/>
</TargetControls>
</telerik:RadToolTipManager>
Thanks,
Michael