System.Web 2.0.0.0 System.ComponentModel.CancelEventArgs

The class is used in the , , , and methods to provide access to input parameters that are passed to the , , , and methods of the control. These parameters are accessed using the property. By adding a delegate to handle the , , , or event, you can examine and manipulate the values of the parameters and perform any additional preprocessing that is required. Any changes to the parameters in this dictionary will affect which method overload is called for the operation. When the property of the control is set, you can only modify the data object properties for the items in this dictionary; you cannot add or remove parameters. For more information, see .

The control exposes many events that you can handle to work with the underlying business object at various times in its life cycle. The following table lists the events and associated classes and event handler delegates.

Event

EventArgs class

EventHandler delegate

.

Occurs immediately before the instance of the business object is created.

.

Occurs immediately after the instance of the business object is created.

.

Occurs before the data is retrieved.

, , and .

Occur before an insert, update, or delete operation is performed.

.

Occurs after the data is retrieved.

, , and .

Occur after the insert, update, or delete operation is completed.

.

Occurs before a business object is destroyed.

Provides data for the , , and events of the control.

- Constructor
  To be added.

  Initializes a new instance of the class using the specified input parameters collection.

  An of objects that represent the names of the parameters of the business object method and their associated values.
  2.0.0.0
- Property
  System.Collections.Specialized.IOrderedDictionary To be added.

  Parameters can be passed to the business object method by reference or by value. If you use an object to handle the , , , or events, you can access and manipulate these parameters using the property. Any changes to the parameters in this dictionary will affect which method overload is called for the operation. When the property of the control is set, you can modify only the data object properties for the items in this dictionary; you cannot add or remove parameters. For more information, see .

  Parameters that are passed by reference are returned in the property of the object.

  Gets a collection that contains business object method parameters and their values.

  2.0.0.0