Share grid delete popup

I've found very helpful this page https://blazor.syncfusion.com/documentation/datagrid/how-to/custom-delete-confirmation-dialog

so I only ask if it's possible to create a sort of separated control that contains the delete dialog... I've a bunch of pages with grids and, if possibile, i want to avoid the creation of the same code on each control (and, obviously, if I've only 1 common code, modification will be reflected anywhere).


Thank you


3 Replies 1 reply marked as answer

RS Renjith Singh Rajendran Syncfusion Team June 30, 2022 01:01 PM UTC

Hi Denis,


Greetings from Syncfusion support.


Based on this requirement, we have prepared a sample by rendering Delete Confirmation custom dialog in a separate razor page and used that dialog for showing delete confirmation message when click on Delete button in Grid. We are attaching the sample in this ticket. Please download and refer the attached sample.


Please refer the attached sample and check this from your side. Please get back to us if you need further assistance.


Regards,

Renjith R


Attachment: ServerApp_2577c243.zip

Marked as answer

DE Denis June 30, 2022 01:07 PM UTC

Thank you!!! Perfect!



RS Renjith Singh Rajendran Syncfusion Team July 4, 2022 06:22 AM UTC

Hi Denis,

Thanks for your update. Please get back to us if you need further assistance.

Regards,

Renjith R


Loader.
Up arrow icon