ASP.NET BackImageUrl Property
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>
Property | Description |
---|---|
URL | The URL of the image to be used. |
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>
Example
- Set the BackImageUrl Property for Panel Control