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

Confirmation message for the AutoGenerate delete button

1 Answer 163 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Rooney
Top achievements
Rank 1
Rooney asked on 08 Apr 2015, 09:30 PM

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..

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 10 Apr 2015, 10:32 AM
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.

 
Tags
General Discussions
Asked by
Rooney
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or