• Bootstrap v5
  • Bootstrap v5 Dark
  • Tailwind CSS
  • Tailwind CSS Dark
  • Material
  • Bootstrap v4
  • Fabric
  • Fabric Dark
  • High Contrast
Preferences
Theme Selection
Mode Selection
Touch
Mouse
Localization
*Translated by Google Translator.
Currency

Example of Server Side Exporting in ASP.NET MVC Data Grid Control

This sample demonstrates the server-side exporting of the Grid, which allows you to export its data to the Excel, CSV and PDF formats using server-side actions. Use the toolbar buttons to export Grid data to desired format.

DEMO
SOURCE

Server-side exporting is implemented by using the Syncfusion.EJ2.GridExport library

In this demo, ExcelExport, CsvExport and PdfExport items are defined in the toolbar and for these toolbar items, we have defined actions in toolbarClick event to export the Grid data using the serverExcelExport serverCsvExport and serverPdfExport methods.