Button with Kendo UI Tooltips

Environment

Product Button for ProgressĀ® TelerikĀ® UI for ASP.NET Core
Product Version 2019.2.514

Description

How can I add a Kendo UI Tooltip on a Button?

Solution

By following the same approach in the Kendo UI ToolTip Live Demo, a button can have a tooltip associated to it.

    @(Html.Kendo().Button()
        .Name("myButton")
        .Tag("a")
        .Content("My Button")
    )

    @(Html.Kendo().Tooltip()
        .For("#myButton")
        .Position(TooltipPosition.Top)
        .Animation(e => e.Open(o => o.Zoom(ZoomDirection.In).Duration(150)))
        .Width(120)
        .Content("My Tooltip")
    )

See Also

In this article
Not finding the help you need? Improve this article