ASP.NET Panel Control.
Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)
The ASP.NET Panel control acts as a container control for other ASP.NET of HTML controls. The ASP.NET Panel control is rendered as a
HTML Div element.
Working example.
Creating the Panel Control.
From the above example.
<asp:Panel ID="Panel1" runat="server" BackColor="#FF8080" Height="50px" Width="125px">
</asp:Panel>
The above example will be rendered as HTML with the result below (source).
<div id="ctl00_ContentPlaceHolder1_Panel1" style="background-color:#FF8080;height:50px;width:125px;">
|