The formview fired event itemupdating
NET forums is how to deal with exceptions like The Grid View 'Grid View1' fired event Row Editing which wasn't handled.The Grid View 'Grid View1' fired event Page Index Changing which wasn't handled.event when an Update button (a button with its Command Name property set to "Update") within the control is clicked, but before the Form View control updates the record.
This allows you to provide an event-handling method that performs a custom routine, such as configuring the Form View control for a specific mode or canceling the mode change, whenever this event occurs.Is there a better or more appropriate technique I could use?Thanks Andrew Hello Andrew, Is the redirect here means redirect the current page to another page/url? Client Script to dynamically regisgter a clientscript to do the redirection at client-side.This allows you to provide an event-handling method that performs a custom routine, such as HTML encoding the values of a record before inserting it in the data source, whenever this event occurs.
A Form View Insert Event Args object is passed to the event-handling method, which allows you to determine the value of an optional command argument sent to the Form View control and to indicate that the insert operation should be canceled.
We’ll start with binding data to the Grid View, then build up functionality from there.