Avoid kendo tooltip from going outside the viewport of browser

2 posts, 0 answers
  1. Dhiraj
    Dhiraj avatar
    1 posts
    Member since:
    Feb 2016

    Posted 06 Jul Link to this post

    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
  2. Dimiter Topalov
    Admin
    Dimiter Topalov avatar
    353 posts

    Posted 07 Jul Link to this post

    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.
  3. Kendo UI is VS 2017 Ready
Back to Top