Button TagHelper Overview

The Telerik UI Button TagHelper for ASP.NET Core is a server-side wrapper for the Kendo UI Button widget.

The Button provides a styled clickable UI functionality with arbitrary content. Apart from consistent Kendo UI for jQuery styling, the Button provides keyboard operability for elements, which natively do not have it—for example, span.

Telerik UI for ASP.NET Core Ninja image

The Button is part of Telerik UI for ASP.NET Core, a professional grade UI library with 110+ components for building modern and feature-rich applications. To try it out sign up for a free 30-day trial.

Initializing the Button

The following example demonstrates how to define the Button by using the Button TagHelper.

    <kendo-button name="button1">Click here!</kendo-button>

Basic Configuration

The Button TagHelper configuration options are passed as attributes of the tag.

            .HtmlAttributes(new { type = "button" })
            .Content("Image icon"))

        <kendo-button name="button1" type="button"
            image-url="/shared/icons/sports/snowboarding.png">Image icon</kendo-button>

See Also

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