asp.net.ph

DetailsViewModeEventArgs Class

System.Web.UI.WebControls Namespace


.NET Framework version 2.0

Provides data for the ModeChanging event of a DetailsView control.

DetailsViewModeEventArgs Class Members

Collapse   Constructors

Visibility Constructor Parameters
public DetailsViewModeEventArgs ( DetailsViewMode mode , Boolean cancelingEdit )

Collapse   Properties

Visibility Name Value Type Accessibility
public CancelingEdit Boolean [ Get ]
public NewMode DetailsViewMode [ Get , Set ]

Remarks

The ModeChanging event is raised whenever the DetailsView control switches between edit, insert, and read-only mode, but before the mode actually changes.

This allows you to provide an event-handling method that performs a custom routine, such as configuring the DetailsView control for a specific mode or canceling the mode change, whenever this event occurs.

For a list of initial property values for an instance of DetailsViewModeEventArgs, see the DetailsViewModeEventArgs constructor.

For more information about handling events, see Web Forms Events Model.

See Also

DetailsView Members   DetailsViewModeEventHandler Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph