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

RadToolTipManager positioning on screen

1 Answer 84 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Roger
Top achievements
Rank 1
Roger asked on 12 Mar 2009, 10:49 PM
Hi,
I have a content page inside a master page that has various controls which are tooltipified. The problem is with the  positioning of the tooltip window where the controls are near the edge of the screen .

What I would like to do in javascript is capture the mouse position of the cursor in the "OnClientBeforeShow", determine where that positon is relative to the display and then set the position of the tooltip (ie bottom left, topcenter). Is this possible?

Regards
Roger

1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 16 Mar 2009, 01:41 PM
Hi Roger,

I already answered your other thread and for your convenience I pasted my reply below:

Yes, the approach you intend to use is a correct one and it will work in your case. The OnClientBeforeShow event is the event you should use in your case and you can either set a different position for the tooltip by using the control's client-side API or reference the popup element and change its top and left properties to the coordinates you want.


Sincerely yours,
Svetlina
the Telerik team


Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
ToolTip
Asked by
Roger
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or