Answer: Panel control is a server-side control works exactly same as HTML div control.It works as a container for all the Controls which are placed inside it.
Syntax:
<asp:Panel ID="pnl_Modal_Info" runat="server" Width="200px">
<asp:Label ID="lbl_name" runat="server"></asp:Label>
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
</asp:Panel>
Asked In: Many Interviews |
Alert Moderator