System.Web.UI.WebControls.ImageField.GetDesignTimeValue Method

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

Syntax

protected virtual string GetDesignTimeValue ()

Returns

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

Remarks

The ImageField.GetDesignTimeValue method is a helper method used by the System.Web.UI.WebControls.ImageField class to determine what value to display for a field when rendering an System.Web.UI.WebControls.ImageField 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.

Requirements

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