Confirmation message for the AutoGenerate delete button

2 posts, 0 answers
  1. Rooney
    Rooney avatar
    2 posts
    Member since:
    Jan 2015

    Posted 08 Apr 2015 Link to this post

    Hi, 

    I have an AutoGenerate delete link in my aspx page.  

    AutoGenerateDeleteColumn="True"

    Currently, when the use clicks on the delete button, the record is deleted without any warning or confirmation. How can I ask the user if they are sure of the deleting the record or not? After confirmation only the record should be deleted. I am currently deleting the records from the DeleteCommand event in the code behind. 

    I saw a thread about the same issue, but I am not able to understand, how can I set the ConfirmText property for the AutoGenerateDeleteColumn. Can anyone help me with addition of this feature without requiring to change my current set up. Thanks..

  2. Pavlina
    Admin
    Pavlina avatar
    6084 posts

    Posted 10 Apr 2015 Link to this post

    Hi,

    Take a look at the following help topic describing how the desired functionality can be implemented:
    http://www.telerik.com/help/aspnet-ajax/grid-adding-delete-prompt.html

    Regards,
    Pavlina
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top