New to Telerik UI for ASP.NET MVC? Download free 30-day trial
ASP.NET MVC TreeList Export to Excel
- EXAMPLE
- VIEW SOURCE
-
Change Theme
defaultDefault Theme
- Main
- Main Dark
- Nordic
- Ocean Blue
- Ocean Blue A11Y
- Purple
- Turquoise
Bootstrap Theme- Main
- Bootstrap 3
- Bootstrap 3 Dark
- Main Dark
- Nordic
- Turquoise
- Turquoise Dark
- Urban
- Vintage
Material Theme- Main
- Arctic
- Lime Dark
- Main Dark
- Nova
Classic Theme- Main
- Green
- Green Dark
- Lavender
- Lavender Dark
- Main Dark
- Metro
- Metro Dark
- Moonlight
- Opal
- Opal Dark
- Silver
- Silver Dark
- Uniform
Fluent Theme- Main
Also available for:
CLIENT-SIDE API SERVER-SIDE APIDescription
Out of the box, the Telerik for ASP.NET MVC 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.