New to Telerik UI for ASP.NET MVC? Download free 30-day trial
Also available for:API REFERENCE
The MVC grid component exposes an option to define a content template for its toolbar.
Here you can see a sample implementation of a toolbar template incorporating a dropdownlist HtmlHelper to list the records in the grid by category. The combo is populated with the list of categories and the filter is applied on its change event by invoking the grid.dataSource.filter(params) method from the client-side API.
Note that the toolbar template is instantiated by the ToolBar -> Template method.