asp.net.ph

FormViewModeEventArgs Class

System.Web.UI.WebControls Namespace


.NET Framework version 2.0

Provides data for the ModeChanging event of a FormView control.

FormViewModeEventArgs Class Members

Collapse   Constructors

Visibility Constructor Parameters
public FormViewModeEventArgs ( FormViewMode mode , Boolean cancelingEdit )

Collapse   Properties

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

Remarks

The ModeChanging event is raised whenever the FormView 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 FormView 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 FormViewModeEventArgs, see the FormViewModeEventArgs constructor.

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

See Also

FormView   FormViewModeEventHandler 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