Skip to main content
A newer version of this page is available. .

ASPxSpreadsheet.DocumentId Property

Gets or sets the document’s unique identifier.

Namespace: DevExpress.Web.ASPxSpreadsheet

Assembly: DevExpress.Web.ASPxSpreadsheet.v20.2.dll

NuGet Package: DevExpress.Web.Office

Declaration

public string DocumentId { get; set; }

Property Value

Type Description
String

A string value that uniquely identifies the document.

Remarks

When a document is opened from a specific file path, the file path is automatically assigned to the DocumentId property.

If you provide custom logic for opening documents (from a database, for instance), you need to manually specify document identifiers using the DocumentId property of opened documents.

The DocumentId property’s value is used as a parameter of the server Document Manager’s DocumentManager.FindDocument method.

See Also