5 Answers, 1 is accepted
Hello Umut,
In order to achieve this you should enable the allPages options of the Excel export.
E.g.
.Excel(excel => excel
.FileName(
"Kendo UI Grid Export.xlsx"
)
.AllPages(
true
)
...
)
Regards,
Dimiter Madjarov
Telerik
See What's Next in App Development. Register for TelerikNEXT.

I followed the example EXACTLY, and added the lines you indicated above...it still only prints the current page.
(I got rid of the groupings, totals, and changed the model to match my model...but everything else is the same)
Thoughts?
Grid Code Below:
@(Html.Kendo().Grid<DairyDashboard.MVC.ViewModels.Home.MyHerdViewModel>()
.Name("grid")
.HtmlAttributes(new { style = "width: 900px" })
.Columns(columns =>
{
columns.Bound(p => p.AnimalId).Width(300);
})
.ToolBar(tools => tools.Excel())
.Pageable()
.Sortable()
.Scrollable()
.Groupable()
.Excel(excel => excel
.FileName("Kendo UI Grid Export.xlsx")
.AllPages(true)
.Filterable(true)
.ProxyURL(Url.Action("Excel_Export_Save", "Home"))
)
.Reorderable(r => r.Columns(true))
.Resizable(r => r.Columns(true))
.ColumnMenu()
.DataSource(dataSource => dataSource
.Ajax()
.PageSize(30)
.Read(read => read.Action("Excel_Export_Read", "Home"))
)
)
Hello David,
The provided sample code seems correct, so I cannot state for sure why only the current page is exported. Please provide small isolated runnable example that I could inspect locally and assist further.
I am looking forward to hearing from you.
Regards,Dimiter Madjarov
Telerik

I was incorrectly setting a page size in my controller action...this was preventing the return of all data.
Issue resolved.
Hello David,
Thanks for the update. I am glad the issue is resolved.
Regards,Dimiter Madjarov
Telerik