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

Resize image size in editformsettings?

1 Answer 66 Views
Grid
This is a migrated thread and some comments may be shown as answers.
sudheer
Top achievements
Rank 2
sudheer asked on 20 Mar 2009, 07:25 AM
Hi telerik team,

i have a doubt relative to resize of image inside editformsettings.
 in one of my radgrid  save and cancel  images available, if i use those images inside editformsettings half of the text is getting crop (For ex: save in which v , cancel c is not getting visible ) i m unable to give width or height of image .but same images if i give in templatecolumn looking fine. the code which i followed is below
<EditFormSettings>                                                                    
                                        <EditColumn ButtonType="ImageButton" UpdateImageUrl="~/App_Themes/images/save2.gif" 
                                            EditImageUrl="~/App_Themes/images/Edit.gif" InsertImageUrl="~/App_Themes/images/save2.gif" 
                                            CancelImageUrl="../App_Themes/images/cancel1.gif" Resizable="true" InsertText="Insert Document" 
                                            UpdateText="Update Document" UniqueName="EditCommandColumn1" CancelText="Cancel "
                                        </EditColumn> 
                                        <FormTableButtonRowStyle Width="100%" HorizontalAlign="Right"></FormTableButtonRowStyle>                                         
                                    </EditFormSettings>

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 24 Mar 2009, 11:20 AM
Hello sudheer,

Presently, the control uses sprites, so changing the image dimensions is not as straightforward. One possible option in this case would be to use a template edit form, and model the images as per your requirements.
I hope this suggestion helps.

All the best,
Yavor
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
sudheer
Top achievements
Rank 2
Answers by
Yavor
Telerik team
Share this question
or