System.Web.UI.WebControls.CheckBoxField.GetDesignTimeValue Method

Retrieves the value used for the field's value when rendering the System.Web.UI.WebControls.CheckBoxField object in a designer.

Syntax

protected override object GetDesignTimeValue ()

Returns

Always returns true.

Remarks

The CheckBoxField.GetDesignTimeValue method is a helper method used to determine what value to display for a field when rendering the System.Web.UI.WebControls.CheckBoxField object in a designer. If real data can not be retrieved from the data source at design time, the value returned by this method is displayed instead.

Requirements

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