Your search did not match any results.

Overview

You can use the DevExpress ASP.NET Core Spreadsheet control to add spreadsheet functionality to an ASP.NET Core application. The control's key features: Microsoft Excel compatibility (XLS, XLSX, XLSM, CSV, TEXT), formula editing, data visualization (charts). You can configure each control with Razor C# or Razor VB syntax.

@inject IHostingEnvironment env @{ var documentPath = System.IO.Path.Combine( env.ContentRootPath, DirectoryManagmentUtils.GetDocumentSampleFolderPath(Context), "InvestmentPortfolio.xlsx"); } @(Html.DevExpress() .Spreadsheet("spreadsheet") .Height("500px") .Width("100%") .DocumentRequestHandlerUrl(Url.Action("DxDocumentRequest")) .Open(documentPath) )
using DevExpress.AspNetCore; using DevExpress.Spreadsheet; using DevExpress.XtraSpreadsheet.Export; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.IO; using System.Text; namespace AspNetCoreDemos.Spreadsheet { [Route("[action]")] public class DemosController : Controller { public ActionResult Overview() { return View(); } } }