System.Web.UI.WebControls.BoundField.GetDesignTimeValue Method

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

Syntax

protected virtual object GetDesignTimeValue ()

Returns

The value to display in the designer as the field's value.

Remarks

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

Note:

This method is used primarily by control developers.

Requirements

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