DevExpress.AspNetCore.Spreadsheet 26.1.5-pre-26227

DevExpress.AspNetCore.Spreadsheet NuGet Package

The DevExpress ASP.NET Core Spreadsheet allows you to add spreadsheet functionality to an ASP.NET Core application. Generate a new document or load an existing file, and give users access to comprehensive workbook editing capabilities.

Key Features

  • Microsoft Excel compatibility (XLS/XLSX/XLSM)
  • Over 400 built-in formulas
  • Data editing and input validation
  • Data sorting and filtering support
  • Document management API
  • 2D and 3D Chart integration
  • Ribbon and Context Menu customization
  • Export to PDF/HTML

Examples

Install the DevExpress.AspNetCore.Spreadsheet NuGet package:

dotnet add package DevExpress.AspNetCore.Spreadsheet

Once installed, configure your application as described in the following help topic: Configure a Visual Studio Project.

Example 1: Add a Spreadsheet to a Page

Razor:

@inject Microsoft.AspNetCore.Antiforgery.IAntiforgery Antiforgery

<script>
    function spreadsheet_beforeSend(spreadsheet, e) {
        e.request.setRequestHeader("RequestVerificationToken",
                                    "@Antiforgery.GetAndStoreTokens(Context).RequestToken");
    }
</script>

@(Html.DevExpress().Spreadsheet("spreadsheet")
    .Height("500px")
    .Width("100%")
    .DocumentRequestHandlerUrl(Url.Page(pageName: null, pageHandler: "DxSpreadsheetRequest"))
    .ClientSideEvents(events =>
        events.OnBeforeSend("spreadsheet_beforeSend")
    )
)

Model:

public class SpreadsheetModel : Microsoft.AspNetCore.Mvc.RazorPages.PageModel {
    public IActionResult OnGetDxSpreadsheetRequest() {
        return SpreadsheetRequestProcessor.GetResponse(HttpContext);
    }
    public IActionResult OnPostDxSpreadsheetRequest() {
        return SpreadsheetRequestProcessor.GetResponse(HttpContext);
    }
}

Example 2: Activate the Auto-Save Feature

@(Html.DevExpress().Spreadsheet("spreadsheet")
    // ...
    .AutoSaveMode(DevExpress.Web.Office.AutoSaveMode.On)
    .AutoSaveTimeout(TimeSpan.FromMinutes(3))
)

Additional Examples on GitHub

Demos

DevExpress.AspNetCore.Dashboard - DevExpress ASP.NET Core Dashboard control.

dotnet add package DevExpress.AspNetCore.Dashboard

DevExpress.AspNetCore.Reporting - DevExpress ASP.NET Core Reporting control.

dotnet add package DevExpress.AspNetCore.Reporting

DevExpress.AspNetCore.RichEdit - DevExpress ASP.NET Core Rich Text Editor component.

dotnet add package DevExpress.AspNetCore.RichEdit

Documentation

Evaluation Period, Pricing Options, and Licensing Terms

Whether you own a license or want to start a 30-day evaluation period, download and register your DevExpress license key. To obtain your key, log in to the DevExpress Download Manager. Use your existing DevExpress.com account or create a new account for free. For key registration instructions, see License Key for DevExpress Products.

If you purchase a license after evaluating a product, re-register your updated DevExpress license key to remove evaluation version warnings/messages.

This package is included in the following commercial subscriptions:

See DevExpress Subscriptions & Licensing for subscription comparison tables, purchasing FAQ, and licensing information.

Software Bill of Materials (SBOM)

To access SBOM files for DevExpress packages, please refer to the following article: Software Bill of Materials (SBOM) for DevExpress .NET assemblies/NuGet packages, JavaScript, VCL and other redistributable artifacts.

See Also: Information Security | Security - What You Need to Know

Useful Online Resources

No packages depend on DevExpress.AspNetCore.Spreadsheet.

.NET 8.0

Version Downloads Last updated
26.1.5-pre-26227 1 08/18/2026
26.1.4 0 08/07/2026
26.1.4-pre-26200 1 08/18/2026
26.1.4-pre-26190 0 07/14/2026
26.1.4-pre-26179 0 07/02/2026
26.1.3 0 06/18/2026
25.2.9 0 08/03/2026
25.2.8 0 06/10/2026
25.2.7 0 05/06/2026
25.2.6 1 04/10/2026
25.2.5 0 03/02/2026
25.2.4 0 02/03/2026
25.2.3 2 01/20/2026
25.1.13 0 07/31/2026
25.1.12 0 06/10/2026
25.1.11 0 05/05/2026
25.1.10 1 04/10/2026
25.1.9 0 03/02/2026
25.1.8 1 01/20/2026
25.1.7 1 01/20/2026
25.1.6 2 01/20/2026
25.1.5 2 01/20/2026
25.1.4 2 01/20/2026
25.1.3 9 09/02/2025
24.1.4 18 07/22/2024
24.1.3 8 07/24/2024
23.1.6 6 12/01/2023
23.1.3 11 07/04/2023
21.2.3 12 06/19/2023