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

Avoid kendo tooltip from going outside the viewport of browser

1 Answer 332 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Dhiraj
Top achievements
Rank 1
Dhiraj asked on 06 Jul 2016, 10:31 AM
When my html control is at top most , right most ,left most or bottom most of the screen then my tooltip goes out side the browser view port.
is there any way by which I can set position property of tooltip at runtime onshow or contentload event. so as to keep tooltip in side the browser viewport

1 Answer, 1 is accepted

Sort by
0
Dimiter Topalov
Telerik team
answered on 07 Jul 2016, 03:30 PM
Hello Dhiraj,

The desired functionality is not provided out-of-the-box, but you can handle the show event, and perform some custom logic to get the tooltip position and dimensions, and adjust them as necessary via jQuery methods, e.g.:

http://dojo.telerik.com/AzAto/2

I hope this helps.

Regards,
Dimiter Topalov
Telerik by Progress
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
Tags
ToolTip
Asked by
Dhiraj
Top achievements
Rank 1
Answers by
Dimiter Topalov
Telerik team
Share this question
or