Skip to main content
Tab

FileManagerSettingsFileList.PageSize Property

Specifies the number of items that are currently uploaded to the file container.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(300)]
public int PageSize { get; set; }

Property Value

Type Default Description
Int32 300

An integer value specifying the number of items.

Property Paths

You can access this nested property as listed below:

Object Type Path to PageSize
ASPxFileManager
.SettingsFileList .PageSize
RichEditDocumentSelectorSettings
.FileListSettings .PageSize
SpreadsheetDocumentSelectorSettings
.FileListSettings .PageSize

Remarks

The ASPxFileManager supports virtual scrolling that allows the control to load files and folders in file container on demand. In this mode, the file manager loads items automatically when the end-user scrolls the control content. Unnecessary files are unloaded.

Use the PageSize property to specify the number of items that are currently uploaded to the client side.

To disable virtual scrolling, set the PageSize property to 0 (zero). In this case, all items contained in the current folder, are uploaded to the client side.

Example

Web Forms (in markup):

<dx:ASPxFileManager ID="fileManager" runat="server" >
    <SettingsFileList PageSize="300" />
    ...
</dx:ASPxFileManager>

Web Forms (in code):

ASPxFileManager fm = new ASPxFileManager();
...
fm.SettingsFileList.PageSize = 300;

MVC:

@Html.DevExpress().FileManager( settings => {
    settings.Name = "fileManager";
    settings.SettingsFileList.PageSize = 300;
    ...
}).BindToFolder(Model).GetHtml()

Online Demo

See Also