Generic delete row code

2 posts, 0 answers
  1. plusHR
    plusHR avatar
    58 posts
    Member since:
    Aug 2012

    Posted 14 Oct 2011 Link to this post

    Hi. I have a radgridview which uses a shared control to handle adding/removing data. The radgridview object is passed to this control as an object. As we have multiple grids which load different types of data how can I remove a row from the grid without knowing the type?

    Thanks
    Paul
  2. plusHR
    plusHR avatar
    58 posts
    Member since:
    Aug 2012

    Posted 14 Oct 2011 Link to this post

    Blonde moment !!!!

    "
     this.RadGrid.Items.Remove(this.RadGrid.SelectedItem); "
    
Back to Top