Export (0) Print
Expand All

LinqDataSourceSelectEventArgs.OrderGroupsByParameters Property

Gets the collection of parameters that are used to create the clause that specifies how grouped data is sorted.

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

public IDictionary<string, Object> OrderGroupsByParameters { get; }

Property Value

Type: System.Collections.Generic.IDictionary<String, Object>
An object that contains the parameters for the clause that specifies how grouped data is sorted.

When you group data by setting the GroupBy property, you can sort the grouped data by setting the OrderGroupsBy property to one of the properties used for grouping the data.

You use the OrderGroupsByParameters property to access parameters for the Order Groups By clause in a handler for the Selecting event. You can modify the Order Groups By clause by adding or removing parameters from this collection.

By default, the OrderGroupsByParameters property of the LinqDataSourceSelectEventArgs object contains any parameters that you added declaratively to the OrderGroupsByParameters of the LinqDataSource control.

.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.

Community Additions

ADD
Show:
© 2014 Microsoft