New to Telerik UI for ASP.NET MVC? Download free 30-day trial

ASP.NET MVC Grid Aggregates

Loading Demo...
  • EXAMPLE
  • VIEW SOURCE
aggregates.cshtml
AggregatesController.cs
ProductService.cs

Also available for:

CLIENT-SIDE API SERVER-SIDE API

Description

Some development scenarios require the Telerik UI for ASP.NET MVC Grid to display results from aggregate calculations at its bottom groups or columns.

The ASP.NET MVC Data Grid comes with built-in support for the most popular aggregate functions such as Average, Count, Sum, Min, Max, and Count. To enable the required aggregate functions, define the aggregates through the available ClientGroupHeaderColumnTemplate, ClientFooterTemplate, and ClientGroupFooterTemplate Columns templates, and the Group and Aggregate fields of its DataSource instance.

For more information on the aggregates feature, refer to the documentation about managing the group templates of the Telerik UI for ASP.NET MVC Data Grid.

Additional Apps

This Grid example is part of a unique collection of hundreds of ASP.NET MVC demos, with which you can see all Telerik ASP.NET MVC components and their features in action. View the source code of the demos from the library or directly adapt, and edit them and their theme appearance in the ThemeBuilder.

Support & Learning Resources

Additional Resources