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

FileManagerSettingsFileList.PageSize Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

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:

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 (declaratively):

<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