Applies the format specified by the ImageField.DataAlternateTextFormatString property to the alternate text value contained in the specified System.Web.UI.Control object.
- controlContainer
- The System.Web.UI.Control that contains the alternate text value to transform.
The transformed value.
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.