Duplicated
Last Updated: 27 Nov 2023 08:38 by ADMIN

If you use the pager whether in the grid, or on its own and the total number of rows in the underlying data source exactly matches the selected page size, the drop down will be displayed as blank.  This will only occur when there is no null "All" option in the list of page sizes.  By the looks of it, I would guess that there is code to select "All" whenever the total matches the selected page size option, but it selects nothing when the "All" option isn't in the list.  The functionality should select the page size that was selected by the user, not try to reset itself to All if the number of rows equals the page size.  The following repl shows the bug:

https://blazorrepl.telerik.com/mxOIEBPW09nKgO9A35

When you run the repl, change the page size to 5, and then back to 10.  You will see that the dropdown selects a blank item.  It should stay with 10.

Duplicated
Last Updated: 10 Apr 2023 14:11 by Clark

We have grids with the pager enabled. Some grids are within an EditForm.

The pager <button> elements do not have a "type" attribute, so clicking them causes the form to be submitted. They should be type="button" and not submit the form.

We do not use a GridPagerTemplate.