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

an alert windows to be displaying when delete button clicked

1 Answer 35 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Syed
Top achievements
Rank 1
Syed asked on 10 May 2009, 11:35 AM
Hi,

I have delete button on the grid. I need an alert when i click on the delete button, asking the users to confirm whether to delete the existing record.

If say "yes", delete record.
If say "no" , no deleting of record.


Regards
Syed Arshad

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 1
answered on 11 May 2009, 04:11 AM
Hello Syed,

You can achieve this by setting ConfirmText property of GridButtonColumn.

aspx:
 
<telerik:GridButtonColumn ConfirmText="Do you want to delete the record?" Text="Delete" CommandName="Delete"></telerik:GridButtonColumn> 

Thanks,
Shinu.
Tags
Grid
Asked by
Syed
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 1
Share this question
or