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

Generic delete row code

1 Answer 42 Views
GridView
This is a migrated thread and some comments may be shown as answers.
plusHR
Top achievements
Rank 1
plusHR asked on 14 Oct 2011, 11:33 AM
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

1 Answer, 1 is accepted

Sort by
0
plusHR
Top achievements
Rank 1
answered on 14 Oct 2011, 11:51 AM
Blonde moment !!!!

"
 this.RadGrid.Items.Remove(this.RadGrid.SelectedItem); "
Tags
GridView
Asked by
plusHR
Top achievements
Rank 1
Answers by
plusHR
Top achievements
Rank 1
Share this question
or