Skip to main content

LookupBuilder.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 LookupBuilder PageLoadMode(
    ListPageLoadMode value
)

Parameters

Name Type Description
value ListPageLoadMode

The option value.

Returns

Type Description
LookupBuilder

A reference to this instance after the method is called.

Remarks

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

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