Skip to content

Latest commit

 

History

History
75 lines (56 loc) · 2.47 KB

button-add-tooltip-hover-text.md

File metadata and controls

75 lines (56 loc) · 2.47 KB
title description type page_title slug tags ticketid res_type
Adding Tooltips to Buttons
An example on how to set a Tooltip for a Button in {{ site.product }}.
how-to
Adding Tooltips to Buttons
button-add-tooltip-hover-text
button, add, tooltip, hover, text
1413806
kb

Environment

Product Button for Progress® Telerik® {{ site.product_short }}
Product Version 2019.2.514

Description

How can I add a {{ site.product }} Tooltip to a Button?

Solution

To associate a tooltip with a Button in {{ site.product }}, follow the approach demonstrated in the [demo on the {{ site.product }} Tooltip](https://demos.telerik.com/{{ site.platform }}/tooltip/index).

    @(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 {{ site.framework }} Button Resources

  • [{{ site.framework }} Button Documentation]({%slug htmlhelpers_button_aspnetcore%})

  • [{{ site.framework }} Button Demos](https://demos.telerik.com/{{ site.platform }}/button/index)

{% if site.core %}

{% else %}

See Also