Radgrid Get Checked Rows

2 posts, 0 answers
  1. Manikandan
    Manikandan avatar
    13 posts
    Member since:
    Apr 2009

    Posted 18 Jun 2009 Link to this post

    I am using radgridview.It has the Chekcbox colmn.I need to get only the Checked rows from the grid i.e. the rows which are cheked in the grid .Please help me..
  2. gerbrand
    gerbrand avatar
    78 posts
    Member since:
    Mar 2009

    Posted 18 Jun 2009 Link to this post

    Hi,

    You need to loop the radgridrow to get the values of the checkboxes and retrieving only the once that are checked.

    foreach (GridViewDataRowInfo row in radgrid.MasterGridViewTemplate.Rows) 
        string value = row.Cells[1].Value.ToString();
         if(value == "true")
         {
              // ...
         }
        // ... 

    Hope it helps
    gerbrand


  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top