Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Toolbar > how i can set ToolTip Scroll bar position to Top
RadControls for ASP.NET are no longer supported (see this page for reference). In case you have inquiries about the Telerik ASP.NET AJAX controls, post them in the pertinent ASP.NET AJAX forums.

Not answered how i can set ToolTip Scroll bar position to Top

Feed from this thread
  • Posted on Jul 20, 2009 (permalink)

     i am using radtooltip with following properties

    Width="500" Height="200" ContentScrolling="Both"

     

     

    OnClientShow="OnClientShow" IsClientID="true" Text='<%# Eval("BankItemText") %>'

     

     

    Position="MiddleLeft" RelativeTo="Mouse" Skin="Telerik" ShowCallout="true" ManualClose="true"

     

     

    ShowEvent="OnMouseOver" runat="server
    as tooltip loads it shows bottom text but i wana to display upper text i am unable to get any help yet may any body can help to me
    Thanks in advance

  • Svetlina Anati Svetlina Anati admin's avatar

    Posted on Jul 21, 2009 (permalink)

    Hello asimleo,

    I suggest to use the RadToolTips' OnClientShow event and to obtain a reference to its content DIV element there. After you do this, the task is actually stripped down to controlling the scrollbar of a standard DIV element.

    I prepared for you sample code and I pasted it below:

     

        <form id="form1" runat="server">     
            <asp:ScriptManager ID="ScriptManager1" runat="server" />     
            <div>     
                <telerik:RadToolTip ID="RadToolTip1" runat="server" OnClientShow="OnClientShow" RelativeTo="Element"    
                    HideEvent="ManualClose" ContentScrolling="auto" Width="200" Height="300" Position="BottomRight"    
                    TargetControlID="HyperLink1">     
                    ----> Start content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    content here     
                    <br />     
                    <-----End     
                </telerik:RadToolTip>     
                <asp:HyperLink ID="HyperLink1" runat="server">Target Control</asp:HyperLink>     
        
                <script type="text/javascript">     
                function OnClientShow(sender, args)     
                {          
                  var contentElem = sender.get_contentElement();     
                  contentElem.scrollTop = 0;     
                }     
                </script>     
        
            </div>     
        </form>   



    All the best,

    Svetlina
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Toolbar > how i can set ToolTip Scroll bar position to Top