[Solved] Grid PageSize 'All' isn't really 'all'

1 Answer 6 Views
Grid
Kees
Top achievements
Rank 2
Iron
Iron
Kees asked on 14 Apr 2026, 12:32 PM

I'm trying to save the page number and page size of a Grid to be later restored if the page with that grid is loaded again, and I have 2 issues with the 'All' size.

My Sizes list is

       private List<int?> PageSizes { get; set; } = [50, 100, 250, null];

If my grid has 76 rows and I select 'All' from the pager dropdown, the PageSize property is set to 76, but the dropdown shows 'All'.
If I then add a row to the grid, it is still showing 'All', but with page 1 of 2, where page 1 contains 76 items and page 2 contains 1 item.
Choosing 'All' again shows 1 page with 77 items.
That is my first issue, 'All' isn't all, but the current number of items

The second issue is when I set the Page and Pagesize with the values I saved earlier, the page size dropdown is showing '76', not 'All'. (76 isn't even a member of the PageSizes list. ). What value do I have set the PageSize to to force the dropdown to show 'All'?

Kind regards,

Kees Alderliesten

 

1 Answer, 1 is accepted

Sort by
0
Hristian Stefanov
Telerik team
answered on 15 Apr 2026, 07:35 AM

Hi Kees,

It seems that you are hitting a bug that has already been reported on our public feedback portal: https://feedback.telerik.com/blazor/1628230-pagesize-parameter-is-not-updated-if-pagesize-is-set-to-all-and-you-update-the-data-collection

I voted for it on your behalf and raised its priority. You can also subscribe to it to receive email notifications for future status updates.

In the meantime, if a workaround appears, I will post it in the comment section of the above public post.

Regards,
Hristian Stefanov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Grid
Asked by
Kees
Top achievements
Rank 2
Iron
Iron
Answers by
Hristian Stefanov
Telerik team
Share this question
or