IGeneralSelectorDataProviderGetItemsAsync Method |
Returns paged items that will be displayed in the general selector drop down list.
Namespace: Kentico.Components.Web.Mvc.FormComponentsAssembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
SyntaxTask<GeneralSelectorSelectListItems> GetItemsAsync(
string searchTerm,
int pageIndex,
CancellationToken cancellationToken
)
Parameters
- searchTerm
- Type: SystemString
The search term entered in the user interface. Is empty when the user interface initializes. - pageIndex
- Type: SystemInt32
The zero-based page index. The page size can be of any value but must be consistent across all requests. - cancellationToken
- Type: System.ThreadingCancellationToken
The cancellation instruction.
Return Value
Type:
TaskGeneralSelectorSelectListItems
See Also