Resize image size in editformsettings?

2 posts, 0 answers
  1. sudheer
    sudheer avatar
    109 posts
    Member since:
    Dec 2008

    Posted 20 Mar 2009 Link to this post

    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>
  2. Yavor
    Admin
    Yavor avatar
    11 posts

    Posted 24 Mar 2009 Link to this post

    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.
Back to Top