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

confirmation on delete

1 Answer 20 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Dawson
Top achievements
Rank 1
Dawson asked on 15 Oct 2013, 11:18 AM

Hi,
How to set confirmation on delete. I want to show a window asking for delete confirmation when user clicks delete button.

Thanks,
Dawson. 

1 Answer, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 1
answered on 15 Oct 2013, 11:22 AM
Hi Dawson,

Please try the following code snippet.You can set the confirm in the GridButtonColumn.

ASPX:
<telerik:GridButtonColumn ConfirmText="Delete this product?" ConfirmDialogType="RadWindow"
    ConfirmTitle="Delete" ButtonType="ImageButton" CommandName="Delete" Text="Delete"
    UniqueName="DeleteColumn">
</telerik:GridButtonColumn>

Thanks,
Princy
Tags
Grid
Asked by
Dawson
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 1
Share this question
or