Detailsview itemupdating event tottaly dating service


24-Jan-2018 18:53

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.The edit button required two clicks to change the mode to Edit instead of Read Only.I solved this problem by changing the mode in the Mode Changing event handler and then rebinding the Details View control.The Details View control allows you to edit, delete, and insert records.In this post I will explain an issue related with Read-only data fields.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.

Basically I have a details view with product information in it, when the user clicks edit it goes into edit mode when I change any of the fields and click update it updates but with the old values.The product table is not updating with the new values.I think the problem is to do with the new values from the textbox not being retrieved.After setting the Details View’s Item Updating method, you will need to modify the SQL Data Source’s Update Command, Update Command Type, and Update Parameters.