Spreadsheet
The DevExpress ASP.NET Core Spreadsheet control allows you to add spreadsheet functionality to an ASP.NET Core application. This includes Microsoft Excel compatibility (XLS, XLSX, XLSM, CSV, TEXT), formula editing, and data visualization (charts). You can configure each control with Razor C# or Razor VB syntax.
The following code adds a simple Spreadsheet to your page.
@(Html.DevExpress().Spreadsheet("spreadsheet")
.Height("500px")
.Width("100%")
.DocumentRequestHandlerUrl(Url.Action("DxDocumentRequest"))
.Open(documentPath)
)
See the following tutorials for instructions on how to integrate a Spreadsheet into an ASP.NET Core application:
Important
To use the Spreadsheet in a Razor Pages web app, it is necessary to configure the project.
See Also