RadSlider in a RadToolTip?

2 posts, 1 answers
  1. Dave Wolf
    Dave Wolf avatar
    33 posts
    Member since:
    Feb 2006

    Posted 04 May 2008 Link to this post

    Im trying to put a radslider in a radtooltip.  When I try to do this the slider doesn't render correctly.  Is this even possible to do?
  2. Answer
    Tsvetie avatar
    1517 posts

    Posted 08 May 2008 Link to this post

    Hello Dave Wolf,
    The problem is that when the RadSlider is being initialized, it is invisible (as it is in a RadToolTip). That is why, you have to call repaint for the RadSlider when the RadToolTip shows:
    <script type="text/javascript">  
    function OnClientShow(sender, args)  
        var slider = $find('<%= RadSlider1.ClientID %>');  
        <form id="form1" runat="server">  
            <asp:ScriptManager ID="ScriptManager1" runat="server" /> 
            <asp:Label ID="Label1" runat="server" Text="Label 1"></asp:Label> 
            <telerik:RadToolTip ID="RadToolTip1" runat="server" 
                Sticky="true" TargetControlID="Label1" 
                <telerik:RadSlider ID="RadSlider1" runat="server" /> 

    Kind regards,
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. DevCraft R3 2016 release webinar banner
Back to Top