New to Telerik UI for ASP.NET MVC? Start a free 30-day trial
Export Overview
By default, the Telerik UI TreeList component for ASP.NET MVC provides a PDF and Excel export functionality.
For more information about the available export options of the TreeList, refer to the articles on:
Under the hood, most of the PDF export options use the Kendo UI for jQuery Drawing library and the Excel export builds a kendo.ooxml.Workbook
.
To enable the PDF and Excel Export functionality, add the following ToolBar configuration:
Razor
@(Html.Kendo().TreeList<Kendo.Mvc.Examples.Models.TreeList.EmployeeDirectoryModel>()
.Name("treelist")
.ToolBar(tools=>
{
tools.Pdf();
tools.Excel();
})
)