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

ASP.NET Core TreeList Excel Export

Loading Demo...
  • EXAMPLE
  • VIEW SOURCE
  • Edit in Telerik REPL
HtmlHelper
TagHelper
Files:
excel_export.cshtml
Excel_ExportController.cs
EmployeeDirectoryController.cs
EmployeeDirectoryModel.cs
Excel_Export_TagHelper.cshtml

Also available for:

CLIENT-SIDE API SERVER-SIDE API

Description

Out of the box, the Telerik for ASP.NET Core TreeList component enables you to export its data to Excel. Under the hood, the Excel export functionality builds a kendo.ooxml.Workbook. Prior to the export itself, you can further modify the file by using the built-in configuration options of the TreeList, such as exporting multiple pages, modifying the name of the Excel file, saving the exported file on the server, and more.

This demo showcases how to enable the Excel export functionality through the Toolbar() configuration option and, also, how to change the name of the Excel file on the server by setting the ProxyURL() and FileName() configuration methods.

Additional Apps

This TreeList example is part of unique collection of hundreds of ASP.NET Core demos, with which you can see all Telerik ASP.NET Core 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 Telerik REPL for ASP.NET Core or ThemeBuilder.

Support & Learning Resources

Additional Resources