Problem with RadTooltip inside RadRotator

5 posts, 0 answers
  1. Imran
    Imran avatar
    19 posts
    Member since:
    Jan 2009

    Posted 06 Jan 2009 Link to this post

    I am using some user controls(email to friend and reminder etc) inside rad rotator.These user controls uses Radtooltip.The problem is when these controls used outside the Rotator the tooltip works fine but when they are used inside the rotator , the tooltip restrainted inside rotator and does'nt showup completely.Is there any way that tooltip will show normally while using inside rotator.

    Thanks
  2. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 06 Jan 2009 Link to this post

    Hi Imran,

    I believe that this  forum thread will help.

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

    Posted 30 Jan 2009 Link to this post

    Hi,

    Nope, the forum thread you mentioned does not help, is there a resolution?

    Thanks,
  5. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 03 Feb 2009 Link to this post

    Hello RobDob,

    By default the RadToolTip control is added to that place where it was declared. In order to get a better appearance, I suggest to override the default function which adds the RadToolTip in the document at the place it was declared in order to add it at the end of the document as shown below:

    <script type="text/javascript"
    if (typeof (Telerik) != "undefined"
        Telerik.Web.UI.RadToolTip.prototype._addToolTipToDocument = function(elem) 
        { 
            //Append tooltip to end of document                                   
            var form = document.forms[0]; 
            form.appendChild(this._popupElement); 
        }; 
    }    
    </script> 

    Then you can use the RadToolTip control between a <ItemTemplate> tags of the RadRotator control.

    I hope this helps.

    Kind regards,
    Fiko
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  6. RobDob
    RobDob avatar
    14 posts
    Member since:
    Sep 2004

    Posted 03 Feb 2009 Link to this post

    Thank you,  that solution works wonderfully..
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017