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

Select current row when clicking delete

1 Answer 40 Views
GridView
This is a migrated thread and some comments may be shown as answers.
mike
Top achievements
Rank 1
mike asked on 22 Mar 2011, 06:56 PM
What can i do so the row that i want to delete is selected when i click the delete button on that row? I want it to be so i dont have to first select the row i want to delete and then click the delete button. I want it so i can click the delete button and that row will be selected when i click the button.

1 Answer, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 23 Mar 2011, 09:04 AM
Hi Mike,

 
If you are using commands, you can pass the SelectedItem as a CommandParameter as it is demonstrated in the following forum thread.

If you need any further assistance, please let me know.

Regards,
Vanya Pavlova
the Telerik team
Tags
GridView
Asked by
mike
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Share this question
or