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

[Solved] Selection after delete operation

1 Answer 118 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Mike McDougall
Top achievements
Rank 1
Mike McDougall asked on 05 Oct 2009, 04:15 PM
When deleting a record in the grid after deleting no row is selected.  However there is a small triangle in the row selection cell where I would expect the grid to select the row.  How do I get the grid to select the row where the triangle is after a delete?

1 Answer, 1 is accepted

Sort by
0
Milan
Telerik team
answered on 06 Oct 2009, 07:22 AM
Hello Mike McDougall,

You could try the following after the delete operation:

this.gridView.SelectedItem = this.gridView.CurrentItem; 


Greetings,
Milan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
GridView
Asked by
Mike McDougall
Top achievements
Rank 1
Answers by
Milan
Telerik team
Share this question
or