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

GridButtonColumn Confirm Dialog Box

2 Answers 374 Views
Grid
This is a migrated thread and some comments may be shown as answers.
TAD RHODES
Top achievements
Rank 1
TAD RHODES asked on 08 Jul 2010, 09:56 PM
Hi there,

When using the confirm dialog box for deleting a record in a grid, is there anyway to make the default not set to "Okay"?  Can it be defaulted to Cancel?  Or possibly no default at all?

thank you,
Tad

<telerik:GridButtonColumn ConfirmText="Are you sure you want to delete this record?" ConfirmDialogType="RadWindow" ConfirmTitle="Delete" ButtonType="ImageButton" ConfirmDialogHeight="25px" CommandName="Delete" Text="Delete" UniqueName="Delete" HeaderStyle-Width="15px" ItemStyle-Width="15px"></telerik:GridButtonColumn>

2 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 09 Jul 2010, 08:11 AM
Hello,

I read in a forum that RadWindowManager will always focus the first button in the confirmation dialog. And in order to change the behaviour, you need implement a custom confirm template.


-Shinu.
0
TAD RHODES
Top achievements
Rank 1
answered on 09 Jul 2010, 02:44 PM
Thank you...this does what I need.
Tags
Grid
Asked by
TAD RHODES
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
TAD RHODES
Top achievements
Rank 1
Share this question
or