Button Events

This article explains the events available in the Telerik Button for Blazor:


The OnClick event fires when the user clicks or taps the button.

Handle the button click


<TelerikButton OnClick="@myHandler">Click me!</TelerikButton>

@code {
    MarkupString someVariable;

    void myHandler()
        someVariable = new MarkupString(DateTime.Now.ToString());

The event is an EventCallback and it can be synchronous (return void), or it can also be asynchronous and return async Task.

See Also

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