ASP.NET Panel GroupingTextProperty
Panel Control
Definition and Usage
The GroupingText property is used to set or return the title text of a group of controls in a Panel control.
This property is used to display a frame and title for the Panel control.
Syntax
<asp:Panel GroupingText="string" runat="server">
Some Content
</asp:Panel>
Some Content
</asp:Panel>
| Property | Description |
|---|---|
| string | A string value that is displayed as the title text of the Panel. |
Example
The following example sets the GroupingText for a Panel control:
<form runat="server">
<asp:Panel id="pan1" runat="server" GroupingText="Panel" >
Hello!
</asp:Panel>
</form>
<asp:Panel id="pan1" runat="server" GroupingText="Panel" >
Hello!
</asp:Panel>
</form>
Try it Yourself »
Panel Control Other Extensions