It also lets you determine what exceptions might have occurred.
I need to access these values so I can update the record. I think I'm overlooking something crucial here, any help would be handy. Notice how the update button has a command called "Update".
Protected Sub List View_Item Updating(By Val sender As Object, By Val e As System. You can use this to fetch the control values you want by handling the list views Item Command Event. I still have a problem, since using the Update Command in the aspx it expects an Item Updating event, which I now catch in Item Command. when I use another commandname I seem to have trouble with the viewstate when I reload my list ... I think I need to see some code before I can help, the command name should not cause Item Command to throw any errors.
Introduction: In this article i will explain how to Edit List View records, how to Update List View records and how to Cancel List View Update operation. Set List View event property On Item Editing="lv Employee_Item Editing".
Description: In previous articles i explained How to bind data to List View control, How to Insert new record from List View Footer Here Container. Now bind Employee data to List View control by using Fill Employee() method. So, when we click on Edit button it will fire On Item Editing event.
When this property is set to the index of an item in the control, that item is displayed in edit mode.