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

Server Export

Loading Demo...
  • EXAMPLE
  • VIEW SOURCE
HtmlHelper
TagHelper
Files:
server_export.cshtml
Server_ExportController.cs
Server_Export_TagHelper.cshtml

Also available for:

CLIENT-SIDE API SERVER-SIDE API

Description

The Telerik UI Grid for ASP.NET Core gives you the ability to export data to XLSX (Excel) and CSV. This method is advised when the data is huge and resource intensive as it eliminates the requirement to serialize the entire dataset and create the file on the Client. The file is produced on the server and pushed to the client as a File object.

The above demo illustrates the configuration of the Server exporting option for all rows. You can also export only selected rows by including the .Selectable() property, or by adding a checkbox column for selection with .Columns (columns => { columns.Select().Width(80); }).

Support & Learning Resources