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

CancelImageUrl does not work in hierarchy

1 Answer 102 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Alexandru-Anton
Top achievements
Rank 1
Alexandru-Anton asked on 17 Oct 2013, 02:15 PM
Hello,
We use a grid with 2 levels with inline edit, and the same CancelImageUrl works fine on the first level, but not on the second level, where the default cancel image is always shown (see screenshot attached)

<radG:GridEditCommandColumn ButtonType="ImageButton" UniqueName="ChildEditCommandColumn" HeaderStyle-Width="3%" CancelImageUrl="~/App_Themes/Cerib/Images/Buttons/FlecheGauche.gif" />

Thanks

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 18 Oct 2013, 04:35 AM
Hi ,

Please try the following code snippet to set the ImageuRL,add the Text property along with it.

ASPX:
<telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn" 
 EditImageUrl="images/edit.gif" CancelImageUrl="images/edit_cancel.gif" InsertImageUrl="images/edit_update.gif"
 UpdateImageUrl="images/edit_update.gif" EditText="Edit" CancelText="Cancel" InsertText="Insert"
 UpdateText="Update">
</telerik:GridEditCommandColumn>

Thanks,
Princy
Tags
Grid
Asked by
Alexandru-Anton
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or