This documentation is archived and is not being maintained.
FieldTemplateFactory::PreprocessMode Method
Visual Studio 2010
Changes the mode of the data column.
Assembly: System.Web.DynamicData (in System.Web.DynamicData.dll)
public: virtual DataBoundControlMode PreprocessMode( MetaColumn^ column, DataBoundControlMode mode )
Parameters
- column
- Type: System.Web.DynamicData::MetaColumn
The column for which the field template is needed.
- mode
- Type: System.Web.UI.WebControls::DataBoundControlMode
The mode (Read Only, Edit, or Insert) to change to.
Dynamic Data renders data in Read Only, Insert, or Edits modes. This method controls which mode is rendered in the column. For example, an Edit mode request changes to Read Only if the column is a primary key column. Columns that are automatically generated and foreign keys that are part of the primary key cannot be edited.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: