Skip to content

Example of Default Functionalities in ASP.NET MVC Button Control

This sample demonstrates the default functionalities of the Button with different types and predefined styles.

Button is a graphical user interface element that triggers an event on click action. It contains the text, an image, or both.

In this sample, Play button is a toggle button and it can be enabled by using the isToggle property. To change the text and icon you should handle click event.