ASP.NET Panel BackImageUrlProperty
Panel Control
Definition and Usage
The BackImageUrl property is used to set or return the URL of the background image of the Panel control.
Syntax
<asp:Panel BackImageUrl="URL" runat="server">
Some Content
</asp:Panel>
Some Content
</asp:Panel>
| Property | Description |
|---|---|
| URL | The URL of the image to use. |
Example
The following example sets the BackImageUrl for the Panel control:
<form runat="server">
<asp:Panel id="Pan1" runat="server" BackImageUrl="img.gif">
Hello!
</asp:Panel>
</form>
<asp:Panel id="Pan1" runat="server" BackImageUrl="img.gif">
Hello!
</asp:Panel>
</form>
Show example »
Panel Control Other Extensions