Grid ConfirmDelete not displaying custom message

3 posts, 0 answers
  1. Scott
    Scott avatar
    24 posts
    Member since:
    Oct 2019

    Posted 20 May 2020 Link to this post

    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. Georgi
    Admin
    Georgi avatar
    698 posts

    Posted 25 May 2020 Link to this post

    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.
  3. Scott
    Scott avatar
    24 posts
    Member since:
    Oct 2019

    Posted 27 May 2020 in reply to Georgi Link to this post

    Thanks!
Back to Top