Gridview rowediting vs rowupdating hamster dating
Thanks Bob The code The Row Command event is raised when any button is clicked in the Grid View control.
I had a similar problem: I have a grid that gets bound to a (collection) property of an item in a detailsview.
I'm manually wiring up a Grid View control in my app, but the Row Updating doesn't fire when clicking Update. It's as if the Grid View thinks the first link button in the row that was clicked, "Update", is actually "Edit", which is also the first control in the row.
Basically, it doesn't remember that it's in edit mode.
When I Filter the data using dropdown selected Index Changed event the gridview shall load data based on what is searched.
I need to do the updating operation on what row is clicked.