Rowupdating not working
This code works fine in the first page of grid view, but when I try to edit the 2nd page it does not work.
When I click on edit button the corresponding row edit template is loading.
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.
A common way to use these collections is to HTML-encode the values supplied by the user before they are stored in the data source.
This enables you to provide an event-handling method that performs a custom routine, such as canceling the update operation, whenever this event occurs.
A Grid View Update Event Args object is passed to the event-handling method, which enables you to determine the index of the current row and to indicate that the update operation should be canceled.
Just check the Net/Custom Document7873 link, and go through the documents tree.
Thanks, Marion -------------------- Check if Search Engine is able to answer questions faster than I do!