Skip to main content

ListBuilder.PageLoadMode(ListPageLoadMode) Method

Specifies whether the next page is loaded when a user scrolls the UI component to the bottom or when the 'next' button is clicked. Mirrors the client-side pageLoadMode option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public ListBuilder PageLoadMode(
    ListPageLoadMode value
)

Parameters

Name Type Description
value ListPageLoadMode

The option value.

Returns

Type Description
ListBuilder

A reference to this instance after the method is called.

Remarks

Use the following notation to set the option’s value:

@(Html.DevExtreme().List()
    .PageLoadMode(ListPageLoadMode.NextButton)
)
See Also