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.
Unfortunately, activation email could not send to your email. Please try again.

Issue related to Export Grid content to Excel Sheet

Thread ID:

Created:

Updated:

Platform:

Replies:

100984 Sep 17,2011 10:08 AM Sep 19,2011 02:22 AM ASP.NET MVC (Classic) 1
loading
Tags: Tools
shivkumar
Asked On September 17, 2011 10:08 AM

hello,
i have try to export grid content in Excel.but i can't do that because of some Actionresult error , i m unable to get it what is exactly that error and root of error.
i have also attach my sample application please go through it(go to "GridDemo" link in application)



SheduleDemo_ed7028ec.rar

Eswari S [Syncfusion]
Replied On September 19, 2011 02:22 AM


Hi Sivakumar,

Thank you for using Syncfusion products.

We suggest you to use the Mapper function for Exporting. Please refer to the following code snippets:

@{Html.Syncfusion().Grid("InboxGrid")

.ToolBar(toolbar =>
{
toolbar.Add(GridToolBarItems.ExcelExport, "Excel Export");
})

.Mappers(map =>
{
map.ExportExcelAction("ExportToExcel);

}).Render();
}


For your convenience, we have modified the sample and the same can be downloaded from the following link:


SheduleDemo1116223430.zip

Also, we would request you to check the following online sample and UG link:

Online sample :

http://mvc.syncfusion.com/sfmvcsamplebrowser/9.3.0.61/Grid_MVC/Samples/4.0/Exporting/GridExport

UG:

http://help.syncfusion.com/ug_93/User%20Interface/ASP.NET%20MVC/Grid/default.htm?turl=Documents%2Fusinggridbuilder3.htm

Please try this and let us know if you need any further assistance.

Regards,
Eswari.S




CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;