RatToolTip inside RadRotator

8 posts, 0 answers
  1. Saurel
    Saurel avatar
    4 posts
    Member since:
    Sep 2008

    Posted 27 Oct 2008 Link to this post

    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

     
  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 28 Oct 2008 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Saurel
    Saurel avatar
    4 posts
    Member since:
    Sep 2008

    Posted 31 Oct 2008 Link to this post

    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>
  5. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 04 Nov 2008 Link to this post

    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.
  6. Tree
    Tree avatar
    111 posts
    Member since:
    Nov 2005

    Posted 16 Nov 2008 Link to this post

    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?

  7. Lini
    Admin
    Lini avatar
    2144 posts

    Posted 20 Nov 2008 Link to this post

    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.
  8. RobDob
    RobDob avatar
    14 posts
    Member since:
    Sep 2004

    Posted 30 Jan 2009 Link to this post

    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,
  9. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 03 Feb 2009 Link to this post

    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.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017