I want to add the x Close icon in the Confirmation modal

1 Answer 268 Views
Dialog
Kishan
Top achievements
Rank 1
Iron
Kishan asked on 06 Jan 2022, 06:08 AM | edited on 06 Jan 2022, 06:19 AM

Hello there,

I am using the Telerik confirmation dialog to delete the user functionality, during the delete the user open confirmation pop-up I want to add the x Close icon top of the Confirmation modal.

here is my code for confirmation modal

var isDelete = await Dialogs.ConfirmAsync("Are you sure you would like to delete this User?", "Confirmation!");

please check the attached image for reference

I want to customize this Dialog as the attached image.

 

1 Answer, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 10 Jan 2022, 08:25 AM

Hello Kishan,

UI for Blazor 2.30 introduced a richer Dialog component.

Now the component has a ShowCloseButton attribute, which is true by default. Check the online demos.

Regards,
Dimo
Progress Telerik

Learn about the important changes coming in UI for Blazor 3.0 in January 2022!
Tags
Dialog
Asked by
Kishan
Top achievements
Rank 1
Iron
Answers by
Dimo
Telerik team
Share this question
or