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

RatToolTip inside RadRotator

7 Answers 109 Views
Rotator
This is a migrated thread and some comments may be shown as answers.
Saurel
Top achievements
Rank 1
Saurel asked on 27 Oct 2008, 09:28 AM
Hello, i'm using RadToolTip inside a very basic images RadRotator. RadToolTip always appears inside rotator. I've tried to change RadToolTip z-index value but it doesn't fix the problem.

Any tips ?

Thaks

 

7 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 28 Oct 2008, 01:46 PM
Hi Saurel,

I tried to reproduce the problem locally but everything is working fine on my side. Could you please provide more details about your exact setup? It will be best if you send us a small sample project where the problem can be reproduced - we will check it and get back to you right away. Just open a new support ticket and attach the zipped project (make sure it can be run locally) there.



Kind regards,
Georgi Tunev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Saurel
Top achievements
Rank 1
answered on 31 Oct 2008, 04:20 PM
Hi, thanks for replying; you will find a sample designer source code below.

Regards

<table>
    <tr>
        <td class="style1" >
            <asp:TextBox id="txtDescription" runat="server" Columns="20" Rows="20"
                ReadOnly="true" Height="300px" Width="300px"></asp:TextBox>
        </td>
        <td valign="top">
            <telerik:RadRotator ID="rotateur" runat="server" Height="377px" Width="150px"
                RotatorType="ButtonsOver" ScrollDirection="Down,Up" WrapFrames="false">
                <ItemTemplate>
                    <div style="text-align:center; margin:5px;">
                    <asp:Image id="imgProgramme" runat="server"  Width="100" Height="80"/>
                    <telerik:RadToolTip ID="rttProgramme" runat="server" TargetControlID="imgProgramme">
                        <asp:Image id="rttImgProgramme" runat="server" />
                    </telerik:RadToolTip>
                    </div>
                </ItemTemplate>
            </telerik:RadRotator>
        </td>
    </tr>
</table>
0
Georgi Tunev
Telerik team
answered on 04 Nov 2008, 10:51 AM
Hello Saurel,

Thank you for the code. The reason for this behavior is that the tooltip control is inside your item template - move the RadToolTip declaration outside of it and it will be shown as expected.



Regards,
Georgi Tunev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Tree
Top achievements
Rank 1
answered on 16 Nov 2008, 02:07 PM

I think Georgi may have misunderstood what Samuel was looking for.

 

I'm guessing that Samuel wanted to bind a tooltip to the data source for the rotator but the problem is that since the tooltip in declared inside the rotator item template, the element hierarchy places the tooltip inside the bounding div of the rotator items.  The tooltip therefore gets clipped.

 

I'm trying to get this to work by fooling around with position:absolute css on the tooltip but haven't had any luck yet.

 

Is there a trick to getting a tooltip to expand when declared inside a RadRotator?

0
Lini
Telerik team
answered on 20 Nov 2008, 08:27 AM
Hi,

What I can recommend is to set the Text property of the tooltip and also set its width/height. This seems to help in my test scenario - the tooltip appears on top of the rotator as expected.

Sincerely yours,
Lini
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
RobDob
Top achievements
Rank 1
answered on 30 Jan 2009, 05:45 PM
Hi,

YEs that solves the problem but what about if you wish to use a custom format from within side, perhasps include a picture..  Is there not another solution..

Thanks,
0
Fiko
Telerik team
answered on 03 Feb 2009, 11:41 AM
Hello RobDob,

I have already answered you in this forum thread.

I hope this helps.

Kind regards,
Fiko
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Rotator
Asked by
Saurel
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Saurel
Top achievements
Rank 1
Tree
Top achievements
Rank 1
Lini
Telerik team
RobDob
Top achievements
Rank 1
Fiko
Telerik team
Share this question
or