System.Web.UI.WebControls.FormViewModeEventArgs.NewMode Property

Gets or sets the mode to which the System.Web.UI.WebControls.FormView control is changing.

Syntax

public FormViewMode NewMode { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the FormViewModeEventArgs.NewMode property to determine the mode to which the System.Web.UI.WebControls.FormView control is changing. For example, you might want to configure the System.Web.UI.WebControls.FormView control based on the mode to which it changes. You can also use this property to specify the mode to which the System.Web.UI.WebControls.FormView control changes by setting it to one of the System.Web.UI.WebControls.FormViewMode enumeration values.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0