This documentation is archived and is not being maintained.

ListView::GroupPlaceholderID Property

Gets or sets the ID for the group placeholder in a ListView control.

Namespace:  System.Web.UI.WebControls
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

public:
virtual property String^ GroupPlaceholderID {
	String^ get ();
	void set (String^ value);
}
<asp:ListView GroupPlaceholderID="String" />

Property Value

Type: System::String
The ID for the group placeholder in a ListView control. The default is "groupPlaceholder".

ExceptionCondition
ArgumentOutOfRangeException

The specified ID is nullptr or an empty string.

Use the GroupPlaceholderID property to specify an ID for the group placeholder. The group placeholder is the control that you add to the LayoutTemplate template when you are using groups to represent where the group will be rendered.

The following example shows how to use the GroupPlaceholderID property to specify a different ID for the group placeholder of the ListView control.

No code example is currently available or this language may not be supported.

.NET Framework

Supported in: 4, 3.5

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: