System.Web.UI.WebControls Namespace DataControlField Class
.NET Framework version 2.0
Sets or retrieves the URL of an image displayed in the header section of DataControlField.
Inline |
<asp:datacontrolfield headerimageurl = strUrl ... > |
Script |
DataControlField.HeaderImageUrl = strUrl |
strUrl |
String that represents a fully qualified or relative URL to an image displayed in the header section of a DataControlField |
The property is read/write with no default value.
Use the HeaderImageUrl property to specify or determine the URL path of an image displayed in the header section of a DataControlField.
If you need to display text instead of an image in the header section of the field, set the HeaderIText property instead.
NOTE: If both the HeaderText and HeaderImageUrl properties are set, the HeaderImageUrl property takes precedence.
DataControlField Members HeaderText