ASP.NET GroupingText Property

Definition and Usage

The GroupingText property is used to set or return the title text of the control group in the 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>
Property Description
string

String value, displayed as the title text of the Panel.

Example

The following example sets the GroupingText for the Panel control:

<form runat="server">
<asp:Panel id="pan1" runat="server"> GroupingText="Panel" >
Hello!
</asp:Panel>
</form>

Example

Set the GroupingText Property for Panel Controls