This is a migrated thread and some comments may be shown as answers.

RadToolTip with RadRotator content does not display RadRotator

3 Answers 102 Views
Rotator
This is a migrated thread and some comments may be shown as answers.
Wakefly
Top achievements
Rank 1
Wakefly asked on 04 Dec 2009, 04:53 PM
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> 
 

3 Answers, 1 is accepted

Sort by
0
Fiko
Telerik team
answered on 08 Dec 2009, 02:40 PM
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.
0
Emad Ud Din
Top achievements
Rank 1
answered on 24 Feb 2011, 02:57 PM
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????
0
Niko
Telerik team
answered on 25 Feb 2011, 05:29 PM
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!
Tags
Rotator
Asked by
Wakefly
Top achievements
Rank 1
Answers by
Fiko
Telerik team
Emad Ud Din
Top achievements
Rank 1
Niko
Telerik team
Share this question
or