ImageButtons for Auto-Generated Command Columns

4 posts, 0 answers
  1. Brett
    Brett avatar
    184 posts
    Member since:
    Jun 2006

    Posted 09 Apr 2008 Link to this post

    I am using Auto-Generated columns for Edit/Delete on my grid.  How do I set them to imagebutton rather than linkbutton?

    I am sure this is simple, but I can find it.
  2. Kia
    Kia avatar
    38 posts
    Member since:
    Mar 2008

    Posted 10 Apr 2008 Link to this post

    Look under MasterTableView - EditFormSettings - EditColumn - ButtonType

    or in source view:

                    <EditColumn ButtonType="ImageButton">  

    But that didn't work for me when I used AutoGenerate option. I had to create my own buttons with images as columns:
                    <telerik:GridEditCommandColumn ButtonType="ImageButton" ...> 
                    <telerik:GridButtonColumn ConfirmText="Are you sure you want to Delete this Order?" ButtonType="ImageButton" ...> 

  3. Filipe
    Filipe avatar
    3 posts
    Member since:
    Jul 2009

    Posted 02 May 2011 Link to this post

    Hi im using Auto-Generated columns for Edit, Cancel and Update on my grid


        <telerik:RadGrid runat="server" ID="gridprecospais" SkinID="YKK" AutoGenerateEditColumn="True"
                onitemcommand="gridprecospais_ItemCommand" AllowPaging="true" PageSize="40">

        <MasterTableView DataKeyNames="Cod_Fornecedor" AutoGenerateColumns="false" EditMode="InPlace"  CommandItemSettings-AddNewRecordText="Adiconar Registo"   
                EditFormSettings-EditColumn-UpdateText="Actualizar"   >
        <telerik:GridNumericColumn DecimalDigits="4" DataType="System.Decimal" NumericType="Number"  UniqueName="Ex_Rate" HeaderText="Ex_Rate" DataField="Ex_Rate"></telerik:GridNumericColumn>
         <telerik:GridNumericColumn DataType="System.Decimal" DataFormatString="{0:N4}" UniqueName="Insurance" HeaderText="Insurance" DataField="Insurance">
        <telerik:GridNumericColumn UniqueName="Allowance" HeaderText="Allowance" DataField="Allowance">


    But the text of the update, cancel, edit   does not change for example from Cancel to Cancelar or from Update to Actualizar
  4. Martin
    Martin avatar
    823 posts

    Posted 05 May 2011 Link to this post

    Hello Filipe,

    Please review the following help article:

    Localizing edit command column

    I hope this helps.

    Kind regards,
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Back to Top