Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

SpreadsheetBuilder.DocumentRequestHandlerUrl(String) Method

Specifies a URL to an action the handles document request operation.

Namespace: DevExpress.AspNetCore.Spreadsheet

Assembly: DevExpress.AspNetCore.Spreadsheet.v24.2.dll

NuGet Package: DevExpress.AspNetCore.Spreadsheet

#Declaration

C#
public SpreadsheetBuilder DocumentRequestHandlerUrl(
    string url
)

#Parameters

Name Type Description
url String

The URL to the handler.

#Returns

Type Description
SpreadsheetBuilder

A builder that can be used to further configure the Spreadsheet.

#Remarks

For a full example, see ASP.NET Core Spreadsheet - Overview demo.

@(Html.DevExpress()
    .Spreadsheet("spreadsheet")
    .Height("500px")
    .Width("100%")
    .DocumentRequestHandlerUrl(Url.Action("DxDocumentRequest"))
    .Open(documentPath)
)
See Also