We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Any Sample for ASP.NET Web API Server Side Grid Export?


Hi Team,

Very happy to find the MVC Sample for above link.

But I am wondering how can I interact with the Angular frontend when I am using a Web API Controller instead of an MVC Controller?



2 Replies

WL wilber lin November 13, 2022 09:15 PM

Angular code like this:

case "table":
                const table = find(
                    (this.table as any)._results,
                    (el) => el.portlet.newId === item.newId
                const excelExportProperties: ExcelExportProperties = {
                    fileName: title
                        ? title + ".xlsx"
                        : "Table-" + new Date().toISOString() + ".xlsx",

PS Pavithra Subramaniyam Syncfusion Team November 14, 2022 08:27 AM

Hi wilber lin,

Thanks for contacting Syncfusion support.

Since our EJ2 server-side exporting is implemented with the partial form submitting with a POST request based on the UrlAdaptor, we could not perform the server exporting with the API endpoint. Please get back to us if you need further assistance on this.


Pavithra S

Live Chat Icon For mobile
Up arrow icon