LinqDataSourceSelectEventArgs::OrderGroupsByParameters Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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)

property IDictionary<String^, Object^>^ OrderGroupsByParameters {
	IDictionary<String^, Object^>^ 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
Available since 3.5
Return to top