Table.BackImageUrl Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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 string BackImageUrl { get; set; }

Property Value

Type: System.String

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.


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

.NET Framework
Available since 1.1
Return to top