Also I find new bug. When I delete row (dg.Rows.RemoveAt(i)) and I have only one row, popup exeption "Index was out of range. Must be non-negative and less than the size of the collection Parameter name: index "
0
Jack
Telerik team
answered on 22 Aug 2007, 04:18 PM
Hi yarik,
You can delete a row from RadGridView by using Remove and RemoveAt functions of RadGridView.Rows collection. See this sample code:
As to your second post: You must check that your parameters are correct, otherwise you will receive an exception. Maybe the variable you used to pass as index parameter for RemoveAt function is incorrect and outside the bounds of the Rows collection. Please,check this and let us know if this was the root of the problem.