New to Telerik UI for Blazor? Download free 30-day trial

Confirm Button Click and Create a Message Box

Description

Sometimes user actions can be sensitive or result in data deletion. For such cases, you may want to require confirmation to protect against accidental clicks.

Solution

UI for Blazor includes Alert, Confirm and Prompt popup dialogs, which can be used to interact with the user.

Another option is to use the Window component, if the predefined Dialogs do not provide enough flexibility for a specific scenario. Here are two examples:

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