SpreadsheetDocumentSelectorSettings.RootFolderUrlPath Property
OBSOLETE
Use the WorkDirectory property instead.
Gets or sets a value that specifies the correct relative URL path to a root folder whose physical path is defined via the FileManagerSettings.RootFolder property of the Document Selector.
Namespace: DevExpress.Web.ASPxSpreadsheet
Assembly: DevExpress.Web.ASPxSpreadsheet.v24.1.dll
NuGet Package: DevExpress.Web.Office
Declaration
[DefaultValue("")]
[Obsolete("Use the ASPxSpreadsheet.WorkDirectory property instead.")]
public string RootFolderUrlPath { get; set; }
Property Value
Type | Default | Description |
---|---|---|
String | String.Empty | A string value that defines the relative URL path to the specified root folder. |
Property Paths
You can access this nested property as listed below:
Library | Object Type | Path to RootFolderUrlPath |
---|---|---|
ASP.NET Web Forms Controls | ASPxSpreadsheet |
|
ASP.NET MVC Extensions | SpreadsheetSettings |
|
Remarks
Use the RootFolderUrlPath property when the FileManagerSettings.RootFolder property of a Spreadsheet’s Document Selector (embedded into file dialogs) points to a virtual directory located outside of your web project. When a document from such a directory is processed (opened/saved) by Spreadsheet, the control substitutes the physical path to the document with a correct site-relative or host-relative path using the RootFolderUrlPath property setting.