RadMultiSelect can group its data source based on the GroupExpression settings in the WebServiceClientDataSource tag. The ClientDataSourceGroupExpression.FieldName property holds the name of the field from the dataSource which will be used for the gruping.

The popup will show a header with the value of the field for each group, and a static header for the current group just below the column headers, so the user can see which group they are scrolling through regardless of the number of items in the control.



You can customize the headers through their templates.

Grouping requires binding the control to a web service, and grouping is performed on the client over the returned flat data.

Example 1: Grouping in RadMultiSelect

        <telerik:RadMultiSelect runat="server" Width="300px" ID="RadMultiSelect1"
            Placeholder="Select customers...">
                <WebServiceSettings ServiceType="OData">
                    <Select Url="" />
                    <telerik:ClientDataSourceGroupExpression FieldName="Country" />

Web service binding creates a Kendo DataSource and applies the grouping settings to it automatically.

See Also

In this article
Not finding the help you need? Improve this article