RadGrid CommandField

2 posts, 0 answers
  1. Dheera
    Dheera avatar
    2 posts
    Member since:
    Apr 2015

    Posted 07 Jun Link to this post

    1) Is there something similar to GridView’s CommandField in Telerik Radgrid? I need to edit fields row by row.

    This is how it is done in GridView:

    <asp:CommandField ShowDeleteButton="True" />
    <asp:CommandField ShowEditButton="True" />

    2) I also need to add a custom button for each row in RadGrid. How can this be done?



  2. Viktor Tachev
    Viktor Tachev avatar
    1447 posts

    Posted 08 Jun Link to this post

    Hello Dheera,

    There is similar functionality available also for RadGrid. In order to define edit and delete columns you can use any of the follwing column types.

    The GridEditCommandColumn is intended to trigger editing for the corresponding record. The GridButtonColumn can be configured to handle different commands.

    You can use a GridButtonColumn if you would like to add custom button and specify a command for it. For this scenario you can also use GridTemplateColumn and set the controls that will be displayed manually.

    Viktor Tachev
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  3. DevCraft R3 2016 release webinar banner
Back to Top