Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
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
Show:
© 2017 Microsoft