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

[Solved] Change Update / Cancel buttons for InPlace

1 Answer 137 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Peter
Top achievements
Rank 1
Peter asked on 30 Jun 2009, 12:38 AM
I'm having some trouble changing the image used for the update and cancel buttons, when my grid is set to use InPlace editing. I am currently using this code -

<EditColumn UniqueName="EditCommandColumn1" ButtonType="ImageButton" 
                    CancelImageUrl="~/Images/Undo.png" UpdateImageUrl="~/Images/save.jpg">  
        </EditColumn> 

This code works fine when the EditMode is EditForms, but when set to InPlace, the images revert back to the standard green tick / red cross.

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 30 Jun 2009, 04:27 AM
Hello Peter,

I tried following code for showing image buttons for Update and Cancel if using InPlace EditMode. Give a try with this.

ASPX:
 
<Columns> 
      . . . 
    <telerik:GridEditCommandColumn ButtonType="ImageButton" CancelImageUrl="../Images/Image1.gif"  UpdateImageUrl="../Images/Image2.gif" UniqueName="EditColumn" > 
    </telerik:GridEditCommandColumn> 
      . . . 
</Columns> 

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