Back to Devexpress

LookupBuilder.PageLoadMode(ListPageLoadMode) Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-lookupbuilder-dot-pageloadmode-x28-devextreme-dot-aspnet-dot-mvc-dot-listpageloadmode-x29.md

latest1.4 KB
Original Source

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

csharp
public LookupBuilder PageLoadMode(
    ListPageLoadMode value
)

Parameters

NameTypeDescription
valueListPageLoadMode

The option value.

|

Returns

TypeDescription
LookupBuilder

A reference to this instance after the method is called.

|

Remarks

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

cshtml
@(Html.DevExtreme().Lookup()
    .PageLoadMode(ListPageLoadMode.NextButton)
)

See Also

LookupBuilder Class

LookupBuilder Members

DevExtreme.AspNet.Mvc.Builders Namespace