This is a migrated thread and some comments may be shown as answers.

Aggregate function support for Html.Telerik().Grid

1 Answer 32 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Anurodh
Top achievements
Rank 1
Anurodh asked on 05 Jun 2020, 05:30 AM

Hi,

I am supporting an application where I need to apply some aggregate function to grid for calculating sum of columns.

Below is sample code

<%: Html.Telerik().Grid(Model.AgentSalesList)
.Name("AgentSalesList")
.DataBinding(dataBinding =>
{
dataBinding.Server()
.Select("AgentSalesGridAction", "AgentSales");
})
.Columns(columns =>
{
columns.Bound(o => o.AgentID).Width("25").Title("Agent ID");
columns.Bound(o => o.NetSales).Width("25%").Title("Net Sales");
columns.Bound(o => o.NetSeatsSold).Width("25%").Title("Net Seats Sold");
})
.Pageable(paging => paging.Enabled(true).PageSize(25))
.Footer(true)
.Sortable()
.Resizable(resizing => resizing.Columns(true))
.Scrollable(o => o.Enabled(false))
%>

There are few option available for same with MVC Kendo UI Grid but when I am trying to install MVC Kendo package from Nuget I am getting unsupported .net framework issue(4.0).

So don't we have support for aggregate function with Html.Telerik().Grid?

OR only option is to upgrade target .net framework and use MVC Kendo UI ?

 

Thanks,

Anurodh Kimni

 

1 Answer, 1 is accepted

Sort by
0
Viktor Tachev
Telerik team
answered on 08 Jun 2020, 11:23 AM

Hello Anurodh,

 

It seems that you are using the Grid MVC extension. These components were introduced a long time ago. They are outdated and no longer supported. Furthermore, since they have not been updated for quite a while they could behave unexpectedly in modern browsers. 

In order to take advantage of the most up to date features of the components I recommend using the UI for ASP.NET MVC suite. Check out the resources below that outline how the new components can be configured:

- Documentation

- Examples

 

Regards,
Viktor Tachev
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
General Discussions
Asked by
Anurodh
Top achievements
Rank 1
Answers by
Viktor Tachev
Telerik team
Share this question
or