Table.BackImageUrl Property

Gets or sets the URL of the background image to display behind the Table control.

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)

public:
virtual property String^ BackImageUrl {
	String^ get ();
	void set (String^ value);
}
/** @property */
public String get_BackImageUrl ()

/** @property */
public void set_BackImageUrl (String value)

public function get BackImageUrl () : String

public function set BackImageUrl (value : String)

Not applicable.

Property Value

The URL of the background image for the Table control. The default value is String.Empty.

Use the BackImageUrl property to specify the location of an image to display in the background of the Table control. 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 or user control 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.

NoteNote:

If the image is smaller than the Table control, it will be tiled.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show: