FileManagerSettingsFileList.ShowFolders Property
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | false |
|
Property Paths
You can access this nested property as listed below:
Object Type | Path to ShowFolders |
---|---|
ASPxFileManager |
|
RichEditDocumentSelectorSettings |
|
SpreadsheetDocumentSelectorSettings |
|
Remarks
By default, the file list displays files only. Set the ShowFolders property to true
to display folders in the file list.
Example
Web Forms (in markup):
<dx:ASPxFileManager ID="fileManager" runat="server" >
<SettingsFileList ShowFolders="true" PageSize="300" />
...
</dx:ASPxFileManager>
Web Forms (in code):
ASPxFileManager fm = new ASPxFileManager();
...
fm.SettingsFileList.PageSize = 300;
fm.SettingsFileList.ShowFolders = true;
MVC:
@Html.DevExpress().FileManager( settings => {
settings.Name = "fileManager";
settings.SettingsFileList.PageSize = 300;
settings.SettingsFileList.ShowFolders = true;
...
}).BindToFolder(Model).GetHtml()
Online Demo
See Also