Telerik UI for ASP.NET Core Button Basic Usage

Loading Demo...
  • EXAMPLE
  • VIEW SOURCE
  • Edit in Telerik REPL
HtmlHelper
TagHelper
Files:
index.cshtml
IndexController.cs
Index_TagHelper.cshtml

Also available for:

CLIENT-SIDE API HTML HELPER API
devcraft ninja image

The Button component 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.

Description

The Telerik UI for ASP.NET Core Button provides consistent styling for a clickable UI functionality that renders arbitrary content, and also keyboard operability for elements that do not natively support. You can initialize a single Button or multiple Buttons at once depending on your requirements and also use the Button to host both block and inline element types. The component delivers multiple options to display various buttons depending on yur specific use case.

The current example displays the most frequent use-case scenarios for rendering buttons such as a regular button, a primary button with a specified class name, a disabled and an icon button.

The ASP.NET Core Button control is part of Telerik UI for ASP.NET Core, a professional-grade UI library with 110+ components for building modern and feature-rich web applications. The Button is a server-side wrapper for the Kendo UI for jQuery Button component and comes in the form of an HtmlHelper.

Functionality and Features

  • Disabled Button—Enables you to disable user interaction and yet show the Button in an inactive and non-clickable state.
  • Icon Button—The Button can accommodate an icon which enhances the visual representation of the text content.
  • Badge Button—The Button can accommodate a badge to boost its text content.

Additional Apps

This Button example is part of unique collection of hundreds of ASP.NET Core demos, with which you can see all Telerik ASP.NET Core components and their features in action. View the source code of the demos from the library or directly adapt, and edit them and their theme appearance in Telerik REPL for ASP.NET Core or ThemeBuilder.

Support & Learning Resources

Additional Resources