Enum
ButtonType

Defines the button behavior when clicked by setting the HTML type attribute.

Definition

Namespace:Telerik.Blazor

Assembly:Telerik.Blazor.dll

Syntax:

cs-api-definition
public enum ButtonType

Fields

Button

Creates a general-purpose button that performs no default form actions when clicked. Use this for buttons that execute custom logic through OnClick event handlers, such as "Cancel", "Show Details".

Declaration

cs-api-definition
Button = 1

Field Value

ButtonType

Reset

Creates a form reset button that clears all form fields back to their initial values when clicked. Use this for "Clear Form", "Reset", or "Start Over" buttons.

Declaration

cs-api-definition
Reset = 2

Field Value

ButtonType

Submit

Creates a form submission button that validates and submits the parent form when clicked. Use this for "Save", "Submit", or "Send" buttons that should process form data and trigger validation rules.

Declaration

cs-api-definition
Submit = 0

Field Value

ButtonType

In this article
DefinitionFieldsButtonResetSubmit
Not finding the help you need?
Contact Support