Detailsview itemupdating not firing

It s fairly common for Web applications to work on a single record at a time.

However, I am not able to capture the Cancel button on the Details View control since there's no event for it.

I wanted to do my custom implementation for the Update command instead of using the Data Binding Object sources but I found my self in trouble with several road blocks.

Problem 1: When clicking on the Edit button the Details View will not change the mode until the second click.

This allows you to provide an event handler that performs a custom routine whenever this event occurs.

A Details View Command Event Args object is passed to the event handler, which allows you to determine the command name and command argument of the button clicked.


Leave a Reply