hi!
i would like to position tooltip to render windows xp like toolbar tooltip.
<telerik:RadToolTip runat="server" ID="CornerMsg" RelativeTo="Element" Position="TopLeft"
OffsetX="0" OffsetY="0" ContentScrolling="None" Skin="Web20"
Width="150" Height="70" Animation="Fade" ShowCallout="true" IsClientID="true"
TargetControlID="rightCornerPlacer">
<div>
<asp:Label runat="server" ID="Message">Event message</asp:Label>
</div>
</telerik:RadToolTip>
this i put as first element and in asp:content...and then i use
<div id="rightCornerPlacer" style="position:absolute; position:fixed; bottom:0px; right:20px; overflow:hidden; width:0px; height:0px;">
Do not delete this! this is important for correct tooltip functionality!
</div>
at bottom of asp:content.
It renders correctly but there are still few problems. Like, it will eventually disappear, but if u try to scroll, it will not stay fixed to the window (it will be scrolled).
Problem is that Tooltip doesn't render correctly when we use RelativeTo="BrowserWindow". problem is that in this case of scrolling, origin div is absolute and not alligned to scroll box. When i look at example demo of telerik, this scroll is resolved, and it is aligned correctly, only Position="TopLeft" doesn't give me ability to place it as Position="BottomRight" in respect to window.
Is there any workarround for this? Could i use something that control allready uses for generating correct position as on demo?
http://demos.telerik.com/ASPNET/Prometheus/ToolTip/Examples/RelativeTo/DefaultCS.aspx
i would like to position tooltip to render windows xp like toolbar tooltip.
<telerik:RadToolTip runat="server" ID="CornerMsg" RelativeTo="Element" Position="TopLeft"
OffsetX="0" OffsetY="0" ContentScrolling="None" Skin="Web20"
Width="150" Height="70" Animation="Fade" ShowCallout="true" IsClientID="true"
TargetControlID="rightCornerPlacer">
<div>
<asp:Label runat="server" ID="Message">Event message</asp:Label>
</div>
</telerik:RadToolTip>
this i put as first element and in asp:content...and then i use
<div id="rightCornerPlacer" style="position:absolute; position:fixed; bottom:0px; right:20px; overflow:hidden; width:0px; height:0px;">
Do not delete this! this is important for correct tooltip functionality!
</div>
at bottom of asp:content.
It renders correctly but there are still few problems. Like, it will eventually disappear, but if u try to scroll, it will not stay fixed to the window (it will be scrolled).
Problem is that Tooltip doesn't render correctly when we use RelativeTo="BrowserWindow". problem is that in this case of scrolling, origin div is absolute and not alligned to scroll box. When i look at example demo of telerik, this scroll is resolved, and it is aligned correctly, only Position="TopLeft" doesn't give me ability to place it as Position="BottomRight" in respect to window.
Is there any workarround for this? Could i use something that control allready uses for generating correct position as on demo?
http://demos.telerik.com/ASPNET/Prometheus/ToolTip/Examples/RelativeTo/DefaultCS.aspx