RadToolTip with RadRotator content does not display RadRotator

4 posts, 0 answers
  1. Wakefly
    Wakefly avatar
    3 posts
    Member since:
    Sep 2006

    Posted 04 Dec 2009 Link to this post

    When using a RadRotator inside of a RadToolTip the RadRotator does not display. Is there something I can do to get around this?

    See this example for more information:
    <%@ Page Language="C#" %> 
     
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
     
    <script runat="server"
     
    </script> 
     
    <html xmlns="http://www.w3.org/1999/xhtml"
    <head runat="server"
        <title></title
        <telerik:RadCodeBlock runat="server"
     
            <script type="text/javascript" language="javascript"
                function RepaintRotator() { 
                    var oRotator = $find('<%= RadRotator_Repaint.ClientID %>'); 
     
                    oRotator.repaint(); 
                } 
            </script> 
     
        </telerik:RadCodeBlock> 
    </head> 
    <body> 
        <form id="form1" runat="server"
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server"
        </telerik:RadScriptManager> 
        <div> 
            <h1> 
                RadToolTip / RadRotator functionality example</h1> 
            <hr /> 
            <h2> 
                Standard RadToolTip with RadRotator content.</h2> 
            <asp:Label ID="Label_Standard" runat="server" Text="Hover over me! - Standard"></asp:Label> - Display's Tooltip but no Rotator 
            <!-- Does NOT work as expected --> 
            <telerik:RadToolTip ID="RadToolTip_Standard" runat="server" TargetControlID="Label_Standard"
                <telerik:RadRotator ID="RadRotator_Standard" runat="server" Width="40px"
                    <Items> 
                        <telerik:RadRotatorItem> 
                            <ItemTemplate> 
                                Item 1 
                            </ItemTemplate> 
                        </telerik:RadRotatorItem> 
                    </Items> 
                    <Items> 
                        <telerik:RadRotatorItem> 
                            <ItemTemplate> 
                                Item 2 
                            </ItemTemplate> 
                        </telerik:RadRotatorItem> 
                    </Items> 
                    <Items> 
                        <telerik:RadRotatorItem> 
                            <ItemTemplate> 
                                Item 3 
                            </ItemTemplate> 
                        </telerik:RadRotatorItem> 
                    </Items> 
                </telerik:RadRotator> 
            </telerik:RadToolTip> 
            <hr /> 
            <h2> 
                RadToolTip with RadRotator content and OnClientShow repaint.</h2> 
            <asp:Label ID="Label_Repaint" runat="server" Text="Hover over me! - With Repaint"></asp:Label> - Displays Tooltip with Rotator and first item, no rotating. 
            <!-- First item shows with Repaint --> 
            <telerik:RadToolTip ID="RadToolTip_Repaint" runat="server" TargetControlID="Label_Repaint" 
                OnClientShow="RepaintRotator"
                <telerik:RadRotator ID="RadRotator_Repaint" runat="server" Width="40px"
                    <Items> 
                        <telerik:RadRotatorItem> 
                            <ItemTemplate> 
                                Item 1 
                            </ItemTemplate> 
                        </telerik:RadRotatorItem> 
                    </Items> 
                    <Items> 
                        <telerik:RadRotatorItem> 
                            <ItemTemplate> 
                                Item 2 
                            </ItemTemplate> 
                        </telerik:RadRotatorItem> 
                    </Items> 
                    <Items> 
                        <telerik:RadRotatorItem> 
                            <ItemTemplate> 
                                Item 3 
                            </ItemTemplate> 
                        </telerik:RadRotatorItem> 
                    </Items> 
                </telerik:RadRotator> 
            </telerik:RadToolTip> 
            <hr /> 
            <h2> 
                RadRotator without RadToolTip as Control - Works as Expected.</h2> 
            <!-- Works as expected without RadToolTip --> 
            <telerik:RadRotator ID="RadRotator_Control" runat="server" Width="40px"
                <Items> 
                    <telerik:RadRotatorItem> 
                        <ItemTemplate> 
                            Item 1 
                        </ItemTemplate> 
                    </telerik:RadRotatorItem> 
                </Items> 
                <Items> 
                    <telerik:RadRotatorItem> 
                        <ItemTemplate> 
                            Item 2 
                        </ItemTemplate> 
                    </telerik:RadRotatorItem> 
                </Items> 
                <Items> 
                    <telerik:RadRotatorItem> 
                        <ItemTemplate> 
                            Item 3 
                        </ItemTemplate> 
                    </telerik:RadRotatorItem> 
                </Items> 
            </telerik:RadRotator> 
        </div> 
        </form> 
    </body> 
    </html> 
     

  2. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 08 Dec 2009 Link to this post

    Hello Wakefly,

     We have already answered your support ticket.

    Greetings,
    Fiko
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Emad Ud Din
    Emad Ud Din avatar
    15 posts
    Member since:
    Dec 2006

    Posted 24 Feb 2011 Link to this post

    Hi

    Same problem with me I am using TooltipManager for a Grid that shows the Tooltip on click of a item. The Tooltip adds a UserControl at runtime (http://demos.telerik.com/aspnet-ajax/tooltip/examples/default/defaultcs.aspx) and that UserControl has RadRotator :)
    and that's where I am getting the problem ie Rotator not shoeing anything. I am binding the rotator from code behind.

    Please help or should I post a ticket????
  5. Niko
    Admin
    Niko avatar
    387 posts

    Posted 25 Feb 2011 Link to this post

    Hello Emad,

    I tried to reproduce your issue, but to no avail. Please, find attached the test project I have prepared. You can review it and modify it to the situation you are experiencing issues with. Afterwards you could open a new support ticket, describe you problem in details and attach that same project with the changes you have incorporated.

    Best wishes,
    Nikodim
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Back to Top