System.Web.UI.WebControls.ImageField.GetFormattedAlternateText Method

Applies the format specified by the ImageField.DataAlternateTextFormatString property to the alternate text value contained in the specified System.Web.UI.Control object.

Syntax

protected virtual string GetFormattedAlternateText (System.Web.UI.Control controlContainer)

Parameters

controlContainer
The System.Web.UI.Control that contains the alternate text value to transform.

Returns

The transformed value.

Remarks

The ImageField.GetFormattedAlternateText(System.Web.UI.Control) method is a helper method used by the System.Web.UI.WebControls.ImageField class to apply the format specified by the ImageField.DataImageUrlFormatString property to the alternate text value. The alternate text value is contained in the System.Web.UI.Control object specified by the controlContainer parameter.

Requirements

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