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

tootltip works with other controls, but not radRotator

5 Answers 70 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Chris Yoker
Top achievements
Rank 1
Chris Yoker asked on 26 Oct 2007, 06:38 PM
hiya,

I'm having an issue with the above.
Tootltip works with other controls on same page, but not radRotator.
Is this by design?

Many thanks,

yogi

5 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 30 Oct 2007, 03:40 PM
Hi Chris Yoker,

To use RadToolTip with RadRotator you can use either the RadToolTipManager and set the ToolTip on the rotator:

<form id="form1" runat="server">  
    <div> 
        <asp:ScriptManager ID="ScriptManager1" runat="server">  
        </asp:ScriptManager> 
        <telerik:RadToolTipManager   
            ID="RadToolTip1"   
            runat="server"   
            ></telerik:RadToolTipManager> 
        <radR:RadRotator ToolTip="Telerik News2" ID="RadRotator1" runat="server" DataMember="item" ContentFile="http://www.telerik.com/support.rss" 
            TransitionType="slideshow" TransitionEffect="gradientwipe" Width="500">  
            <FrameTemplate> 
                <div id="newsDiv" class="module">  
                    <b> 
                        <%# DataBinder.Eval(Container.DataItem,"pubDate") %> 
                    </b>-  
                    <%# DataBinder.Eval(Container.DataItem,"title") %> 
                </div> 
            </FrameTemplate> 
        </radR:RadRotator> 
    </div> 
</form> 

or you can wrap the rotator's content in some container - like the newsDiv in the example below and set the TargetControlID property of the RadToolTip to it:

<form id="form1" runat="server">  
    <div> 
        <asp:ScriptManager ID="ScriptManager1" runat="server">  
        </asp:ScriptManager> 
        <telerik:RadToolTip   
            ID="RadToolTip1"   
            runat="server"   
            IsClientID="true" TargetControlID="newsDiv">  
            Telerik news</telerik:RadToolTip> 
        <radR:RadRotator ID="RadRotator1" runat="server" DataMember="item" ContentFile="http://www.telerik.com/support.rss" 
            TransitionType="slideshow" TransitionEffect="gradientwipe" Width="500">  
            <FrameTemplate> 
                <div id="newsDiv" class="module">  
                    <b> 
                        <%# DataBinder.Eval(Container.DataItem,"pubDate") %> 
                    </b>-  
                    <%# DataBinder.Eval(Container.DataItem,"title") %> 
                </div> 
            </FrameTemplate> 
        </radR:RadRotator> 
    </div> 
</form> 



All the best,
Georgi Tunev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Chris Yoker
Top achievements
Rank 1
answered on 30 Oct 2007, 04:32 PM
Hiya Georgi,

Thanks for reply.
I took your second recommend approach:

<<or you can wrap the rotator's content in some container - like the newsDiv in the example below and set the TargetControlID property of the RadToolTip to it:
>>

It works, but only on the first item in the rotator.When it rotates to the second and third items, it doesn't work..yet, when it rotates back to the first item, it works again.

Can you have a look at the example you created and see if it behaves in the same way?

Many thanks,

yogi
0
Chris Yoker
Top achievements
Rank 1
answered on 02 Nov 2007, 10:31 AM
hiya,

Any update on this post?It's been 3 days now.Telerik mentions the following in the Prometheus FAQ's:

<<you can start using “Prometheus” in new projects and will receive the same level of support as the regular RadControls>>

It's not a major criticism on my part, just a gentle reminder :-)

One of the most valuable things in a developer's life is time..We're taking the time to try and test Prometheus..

Thanks folks,

yogi
0
Tsvetie
Telerik team
answered on 06 Nov 2007, 03:22 PM
Hi Chris Yoker,
I created a simple example to demonstrate how you can achieve the desired behavior - please find it attached. The idea is to add a RadToolTip to the template of the RadRotator and use the ItemDataBound event that the rotator fires to assign the TargetControlID of every tooltip control.

Regards,
Tsvetie
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Chris Yoker
Top achievements
Rank 1
answered on 06 Nov 2007, 05:11 PM
Thanks Tsvetie,

I made some adjustments to fit my needs and it works.

yogi
Tags
ToolTip
Asked by
Chris Yoker
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Chris Yoker
Top achievements
Rank 1
Tsvetie
Telerik team
Share this question
or