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

Problem with RadTooltip position

5 Answers 374 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Chinna
Top achievements
Rank 1
Chinna asked on 05 Aug 2008, 08:16 AM
Hi I am working with RadTooltipManager control. i am using the position as "BottomRight". it's working fine at the top of the page   onmouseover  event of the some text. But at the bottom of the page it's not showing properly like showing somewhere on the page instead of Bottom of the selected position. Please let me know what's the wrong with this code.
<telerik:RadToolTipManager runat="server" ID="RadToolTipManager1" Position="BottomRight" onajaxupdate="OnAjaxUpdate" ShowEvent="OnMouseOver" Visible="false" Skin ="Outlook" ManualClose="true" Height="220px" Width="220px" RelativeTo="Element" ></telerik:RadToolTipManager>

Thanks in Advance,
Chinna..

5 Answers, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 05 Aug 2008, 01:01 PM
Hi Chinna,

The RadToolTip's designed behavior is to show always in the visible browser area. Therefore, when it should exceed the screen bounds it recalculates its coordinates and reposition. You can change this behavior by javascript means. For this purpose you should obtain a reference to the RadToolTipManager and set the popupBehavior's keepInScreenBounds property to false as shown below:

function Configure(sender, args)     
{         
   sender._popupBehavior.set_keepInScreenBounds(false);     
}    
 

<telerik:RadToolTipManager ID="RadToolTipManager1" runat="server" OnAjaxUpdate="OnAjaxUpdate" Position="BottomRight" OnClientBeforeShow="Configure">     
            </telerik:RadToolTipManager>   


In case this is not what you mean, please provide a more detailed explanation on your exact scenario and requirements.

Sincerely yours,
Svetlina
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Chinna
Top achievements
Rank 1
answered on 06 Aug 2008, 06:48 AM

Hi Svetlina, Thank for ur reply. but i have some doubt.
can you plz let me know how to call this method   OnClientBeforeShow="Configure"  , it requires parameters as tooltipID and args. how to pass arguments to this function.what are the arguments here.
if i run it direcctly i am getting the js error as "Object doesn't support this method or property.

function Configure(sender, args)     

{         

   sender._popupBehavior.set_keepInScreenBounds(false);     

and one more thing, i am using this RadtooltipMger in Usercontol and placing that usercontrol in Aspx page.so when i kept Mouse position at the bottom of the Aspx page it has to show the tooltip at the bottom of the Mouse postion by scrolling the page down. Can you plz let me know about this ASAP.
Thanks in Advance,
Chinna.

0
Svetlina Anati
Telerik team
answered on 06 Aug 2008, 10:13 AM
Hello Chinna,

By assigning the OnClientBeforeShow property to a function you actually attach a handler for this event and you do not need to pass the function's arguments explicitly - they are automatically passed. This could not be the reason for the error you got.

I did not quite understand what you mean by "when i kept Mouse position at the bottom of the Aspx page it has to show the tooltip at the bottom of the Mouse position by scrolling the page down". I think that the best way to proceed is that you open a new support ticket, prepare and send me a fully working, reproduction demo (including DB, if needed, e.g Northwind) along with a detailed explanation of the problem and the desired behavior and some  screenshots. Once I receive this information, I will do my best to help.

Regards,
Svetlina
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
TuanTH
Top achievements
Rank 2
answered on 05 Jan 2012, 03:05 AM
Hj Admin,
I use RadTooltipmanager for radschedule but i can't control position.
please, help me.
0
Princy
Top achievements
Rank 2
answered on 05 Jan 2012, 05:50 AM
Hello,

Take a look into the following demo.
Scheduler / Using RadToolTip

Thanks,
Princy.
Tags
ToolTip
Asked by
Chinna
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Chinna
Top achievements
Rank 1
TuanTH
Top achievements
Rank 2
Princy
Top achievements
Rank 2
Share this question
or