Select multiple items in grid and display selected rows

2 posts, 0 answers
  1. Sandeep
    Sandeep avatar
    1 posts
    Member since:
    Apr 2016

    Posted 07 Apr 2016 Link to this post

    The scenario I am trying to achieve is below, I am displaying three fields in grid ProcessId, ProcessName, Process Desc. Once I display in the grid I want to have a hyperlink button in first column say Select. User when selects a row I want to display that row id and Name in a html list above or below grid. Is there a way I can achieve this using telerik grid, if any examples of it can you please point me over there.
  2. Viktor Tachev
    Viktor Tachev avatar
    2501 posts

    Posted 12 Apr 2016 Link to this post


    In order to implement the behavior you can use the following approach.

    • add GridButtonColumn and set its CommandName to Select
    • handle the ItemCommand event of the RadGrid
    • check what command raised the event and if it was Select get the values from the current row
    • populate the TextBox controls with the relevant values

    If you would like additional information on how you can access the values in the cells of the grid you would find the following article interesting.

    For convenience I am attaching a sample project where the behavior is implemented.

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