Base solution for your next web application
Open Closed

How to show all records for PagedResultDto? #4087


User avatar
0
soonjoo created

Hello team,

I have implemented IPagedResultDto for a listing, and I have used it for my datatables with paging and sorting without issues.. Can I reuse the endpoint for a dropdown list? Meaning I want to retrieve all the records, instead of the default 10 per page? Thanks

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

1 Answer(s)
  • User Avatar
    0
    aaron created
    Support Team

    Pass int.MaxValue for MaxResultCount.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)