New to Telerik UI for ASP.NET Core? Download free 30-day trial

Adding Tooltips to Buttons

Environment

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

Description

How can I add a Telerik UI for ASP.NET Core Tooltip to a Button?

Solution

To associate a tooltip with a Button in Telerik UI for ASP.NET Core, follow the approach demonstrated in the demo on the Telerik UI for ASP.NET Core Tooltip.

    @(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")
    )

More ASP.NET Core Button Resources

See Also

In this article