DataGridColumn.HeaderImageUrl Property
Assembly: System.Web (in system.web.dll)
public: virtual property String^ HeaderImageUrl { String^ get (); void set (String^ value); }
/** @property */ public String get_HeaderImageUrl () /** @property */ public void set_HeaderImageUrl (String value)
public function get HeaderImageUrl () : String public function set HeaderImageUrl (value : String)
Property Value
The location of an image to display in the header section of the column. The default value is String.Empty.Use the HeaderImageUrl property to specify the URL of an image to display in the header section of the column. You can use a relative or an absolute URL. A relative URL relates the location of the image to the location of the Web page without specifying a complete path on the server. The path is relative to the location of the Web page. This makes it easier to move the entire site to another directory on the server without updating the path to the image in code. An absolute URL provides the complete path, so moving the site to another directory requires updating the code.
Note |
|---|
| If you want to display text instead of an image in the header section of the column, set the HeaderText property instead of this property. |
Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Note