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

Adding Tooltips to Buttons

Environment

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

Description

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

Solution

To associate a tooltip with a Button in Telerik UI for ASP.NET MVC, follow the approach demonstrated in the demo on the Telerik UI for ASP.NET MVC 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 MVC Button Resources

See Also

In this article