event is raised when an Update button within a Details View control is clicked, but before the update operation.This allows you to provide an event handler that performs a custom routine, such as canceling the update operation, whenever this event occurs. I have a Details View with a Drop Down List in an Edit Item Template, I know, pretty cool right?But when I try to Update the table with a new value from the Drop Down List the table does not get updated with the new value.
To declare the row fields, first set the Details View. When both are used, explicitly declared row fields are rendered first, followed by the automatically generated row fields.
A Details View Update Event Args object is passed to the event handler, which allows you to determine the index of the record being updated and to indicate that the update operation should be canceled.
To cancel the update operation, set the collections, if necessary, before the values are passed to the data source.
However, to make use of the Details View control's advanced capabilities you must explicitly declare the row fields to include in the Details View control. The row fields specified are added to the Details View. Note: Explicitly declared row fields can be displayed in combination with automatically generated row fields.
Automatically generating the rows provides a quick and easy way to display every field in the record. Fields collection allows you to programmatically manage the row fields in the Details View control.