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

Problem with RadTooltip inside RadRotator

4 Answers 92 Views
Rotator
This is a migrated thread and some comments may be shown as answers.
Imran
Top achievements
Rank 1
Imran asked on 06 Jan 2009, 12:21 PM
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

4 Answers, 1 is accepted

Sort by
0
Fiko
Telerik team
answered on 06 Jan 2009, 03:55 PM
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.
0
RobDob
Top achievements
Rank 1
answered on 30 Jan 2009, 05:53 PM
Hi,

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

Thanks,
0
Fiko
Telerik team
answered on 03 Feb 2009, 10:01 AM
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.
0
RobDob
Top achievements
Rank 1
answered on 03 Feb 2009, 01:43 PM
Thank you,  that solution works wonderfully..
Tags
Rotator
Asked by
Imran
Top achievements
Rank 1
Answers by
Fiko
Telerik team
RobDob
Top achievements
Rank 1
Share this question
or