Onrowupdating event

Yes, I did put the breakpoint at the Row Updating line (and not in the function).

You have to make sure that you aren't setting your Grid View's data when it is not postback.

Do you have some sort of Java Script functionality that may be stopping it? A common problem people have with Grid Views is understanding when to data bind the data source to the Grid View.

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.I had a bulkedit gridview set up with a database and it worked great, now all of a sudden (i must have changed something by accident), everytime i try and submit the updates on the bulkeditgridview, i get the following error: The Grid View 'Bulk Edit Grid View1' fired event Row Updating which wasn't handled. Now this only happens when i change a record, if i leave everything the same and click submit, it works fine. If the values are alternated in the hashtable they are applied to the grid and carried over to the data source as well.event is raised when a row's Update button is clicked, but before the Grid View control updates the row.

Search for onrowupdating event:

onrowupdating event-24

To cancel the update operation, set the collections, if necessary, before the values are passed to the data source.

Leave a Reply

Your email address will not be published. Required fields are marked *

One thought on “onrowupdating event”