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

Message on Delete

1 Answer 33 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Krutika
Top achievements
Rank 1
Krutika asked on 16 Nov 2012, 07:17 PM
In my RadGrid, Autogeneratecolumns = true,
<
<Columns>
                   <telerik:GridEditCommandColumn UniqueName="EditCommandColumn" ButtonType="ImageButton" EditImageUrl="../Images/Edit.png" ></telerik:GridEditCommandColumn>                   
                    <telerik:GridButtonColumn CommandName="Delete" Text="Delete" UniqueName="DeleteColumn" ButtonType="ImageButton"  ImageUrl="../Images/Delete.png"></telerik:GridButtonColumn> 
                </Columns>
>

How do I display a message when Delete button is clicked, as 'OnClientClick' is not a valid event for GridButtonColumn ?

1 Answer, 1 is accepted

Sort by
0
Ed Lance
Top achievements
Rank 1
answered on 17 Nov 2012, 12:26 AM
        <telerik:GridButtonColumn CommandName="Delete" Text="Delete"
            UniqueName="column" ConfirmText="Are you sure you want to delete this record?"
ConfirmTitle="Confirm Delete" ConfirmDialogType="RadWindow" ItemStyle-Width="50px">
        </telerik:GridButtonColumn>
Tags
Grid
Asked by
Krutika
Top achievements
Rank 1
Answers by
Ed Lance
Top achievements
Rank 1
Share this question
or