Skip to main content

SpreadsheetBuilder.DocumentRequestHandlerUrl(String) Method

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

Namespace: DevExpress.AspNetCore.Spreadsheet

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

NuGet Package: DevExpress.AspNetCore.Spreadsheet

Declaration

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