BoldSignA modern eSignature application with affordable pricing. Sign up today for unlimited document usage!
using Syncfusion.EJ;
using Syncfusion.EJ.Export;
using Syncfusion.Linq;
using Syncfusion.Compression;
using Syncfusion.DocIO;
using Syncfusion.XlsIO;
using Syncfusion.Pdf;
the controller is as so...
My problem is that intellisence is not recognizing the GridProperties or the ExcelVersion. as best I can tell I have included the needed dependencies. or is there a better way to accomplish this?
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using SyncfusionMvcApplication50; using Syncfusion.EJ.Export; using Syncfusion.JavaScript.Models; using Syncfusion.XlsIO; using System.Web.Script.Serialization; using System.Collections; using System.Reflection; namespace SyncfusionMvcApplication50.Controllers { public class GridController : Controller { // // GET: /Grid/ public ActionResult GridFeatures() { var DataSource = new NorthwindDataContext().OrdersViews.ToList(); ViewBag.datasource = DataSource; return View(); } public void ExportToExcel(string GridModel) { ExcelExport exp = new ExcelExport(); var DataSource = new NorthwindDataContext().OrdersViews.ToList(); GridProperties obj = ConvertGridObject(GridModel); exp.Export(obj, DataSource, "Export.xlsx", ExcelVersion.Excel2010, false, false, "flat-saffron"); |
MVC Versions |
MVC DLL Version |
Base DLL Version |
Supported Frameworks |
MVC 3 |
13.4300.0.53 |
12.4400.0.53 |
v4.0, v4.5, v4.5.1 |
MVC 4 |
13.4400.0.53 |
13.4400.0.53 |
v4.0, v4.5, v4.5.1 |
MVC 5 |
13.4500.0.53 |
13.4450.0.53 |
v4.5, v4.5.1 |
MVC 5 |
13.4500.0.53 |
13.4451.0.53 |
v4.5.1 |