This is a migrated thread and some comments may be shown as answers.

Grid ConfirmDelete not displaying custom message

2 Answers 308 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Scott
Top achievements
Rank 1
Veteran
Scott asked on 20 May 2020, 05:16 PM

On my grid I just want to display an alternate message than the stock one so I added the following but it doesn't honor the text I assigned to it.

 

.Editable(editable => editable.Mode(GridEditMode.InLine).ConfirmDelete("My custom delete confirm message"))

2 Answers, 1 is accepted

Sort by
0
Georgi
Telerik team
answered on 25 May 2020, 07:53 AM

Hi Scott,

To override the default confirmation message you will have to use the DisplayDeleteConfirmation method.

e.g.

.Editable(editable => editable.Mode(GridEditMode.InLine).DisplayDeleteConfirmation("My custom delete confirm message"))

Regards,
Georgi
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
Scott
Top achievements
Rank 1
Veteran
answered on 27 May 2020, 03:13 PM
Thanks!
Tags
Grid
Asked by
Scott
Top achievements
Rank 1
Veteran
Answers by
Georgi
Telerik team
Scott
Top achievements
Rank 1
Veteran
Share this question
or