# Delete Confirmation Dialog

This article provides information on how to enable the built-in delete confirmation dialog and how you can create a custom dialog:

* [Basics](https://www.telerik.com/blazor-ui/documentation/components/scheduler/editing/delete-confirmation-dialog#basics)
* [Custom Delete Confirmation Dialog](https://www.telerik.com/blazor-ui/documentation/components/scheduler/editing/delete-confirmation-dialog#custom-delete-confirmation-dialog)

## Basics

The built-in delete confirmation dialog triggers before event deletion. You can enable it by setting the `ConfirmDelete` parameter of the Scheduler to `true`. The default texts of the dialog are exposed in the [localization](https://www.telerik.com/blazor-ui/documentation/globalization/localization) messages of the component, and you can customize them.

> important This dialog displays only for **single** events, **not** for recurring. The built-in delete confirmation dialog for recurring events is **not** changed.

> caption Enabling of the Delete Confirmation Dialog

<demo metaUrl="client/scheduler/delete-confirmation-dialog/example-1/" height="780"></demo>

## Custom Delete Confirmation Dialog

To customize the appearance and behavior of the delete confirmation dialog, use one of the following options:

* [Localization](https://www.telerik.com/blazor-ui/documentation/globalization/localization) - this approach is useful if you want to change just the text of the built-in delete confirmation dialog elements. It does not allow adding item details to the dialog text.

* [Predefined dialogs (`DialogFactory`)](https://www.telerik.com/blazor-ui/documentation/components/dialog/predefined#confirm) - this option is useful if you want to change the dialog text and include some details for the item the user tries to delete (for example, record name).

* [Dialog Component](https://www.telerik.com/blazor-ui/documentation/components/dialog/overview) - this solution allows you to fully customize the rendering and appearance of the dialog. You may set the desired `ThemeColor` and add any content there, be that custom text, HTML elements or other components.

[Read more about customizing the delete confirmation dialog...](https://www.telerik.com/blazor-ui/documentation/knowledge-base/grid-customize-delete-confirmation-dialog)

## See Also

* [Data Binding](https://www.telerik.com/blazor-ui/documentation/components/scheduler/data-bind)
* [Live Demo: Appointment Editing](https://demos.telerik.com/blazor-ui/scheduler/appointment-editing)
* [Custom Edit Form](https://github.com/telerik/blazor-ui/tree/master/scheduler/custom-edit-form)
* [Customize the Delete Confirmation Dialog](https://www.telerik.com/blazor-ui/documentation/knowledge-base/grid-customize-delete-confirmation-dialog)
