Onitemupdating detailsview

Rated 3.84/5 based on 581 customer reviews

event is raised when an Update button within the Details View control is clicked, but after the update operation.

This allows you to provide an event handler that performs a custom routine, such as checking the results of the update operation, whenever this event occurs.

So, the method to get the column names looked like the following: The method checks to make sure the data being sent isn’t blank or null by executing the ‘Is Field Null’ method.Problem 2: When clicking the update button I handle the updating of the order in the Item Updating event but the Item Updated never fires and the Details View never change the mode to Read Only after the data was updated.Details View control always stayed on the Edit Mode.A Details View Insert Event Args object is passed to the event handler, which allows you to indicate that the insert operation should be canceled.I was stocked for sometime using the 2.0 Details View control to Edit/Update data.

Leave a Reply