title | description | type | page_title | slug | position | tags | res_type |
---|---|---|---|---|---|---|---|
Confirm Button Click and Create a Message Box |
How to confirm the click of a button and to create a message box. |
how-to |
How to confirm button click and create a message box |
common-kb-confirm-button-messagebox |
kb |
Product |
Dialog for Blazor, Window for Blazor |
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.
UI for Blazor includes [Alert, Confirm and Prompt popup dialogs]({%slug dialog-predefined%}), which can be used to interact with the user.
Another option is to use the [Window component]({%slug window-overview%}), if the predefined Dialogs do not provide enough flexibility for a specific scenario. Here are two examples: