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

RadGrid Edit Mode LinkButtons to Buttons

1 Answer 236 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 25 Feb 2014, 03:33 PM
Hi All,

Currently my RadGrid displays LinkButtons instead of Buttons when in edit mode.  Insert/Update/Cancel are LinkButtons and not buttons.  Can anyone please tell me how to change these to buttons?

Thanks,
Mark

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 26 Feb 2014, 03:21 AM
Hi Mark,

If you would like to render buttons in the place of the default Update/Cancel/Insert link buttons, you merely have to select ButtonType=”ImageButton” from the EditFormSettings -> EditForm section.

ASPX:
<telerik:RadGrid ID="RadGrid1" runat="server">
    <MasterTableView CommandItemDisplay="Top">  
        <Columns>
            <telerik:GridEditCommandColumn></telerik:GridEditCommandColumn>
          . . . .
        </Columns>  
        <EditFormSettings EditColumn-ButtonType="PushButton">
        </EditFormSettings>
    </MasterTableView>
</telerik:RadGrid>

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