This documentation is archived and is not being maintained.

Table.BackImageUrl Property

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

[Visual Basic]
Public Overridable Property BackImageUrl As String
[C#]
public virtual string BackImageUrl {get; set;}
[C++]
public: __property virtual String* get_BackImageUrl();
public: __property virtual void set_BackImageUrl(String*);
[JScript]
public function get BackImageUrl() : String;
public function set BackImageUrl(String);

Property Value

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

Remarks

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.

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

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

Table Class | Table Members | System.Web.UI.WebControls Namespace

Show: