Bug with DataList

I have this issue on my environment and have been able to reproduce it with the demo. Go to url Blazor data list with OData in order to reproduce the issue. Normally, the data from the demo contains 70 items. For this reason, set PageSize="35" and PageSizeOptions="new int {35,70}". Now go on the second page which contains the second half of all the data. Finally, change items per page to 70 and notice that the UI won't be refreshed and you will be stuck with 35 elements

1 Like

Did someone else experienced that? Did someone looked for it? I just went back to retest it and doesn't seemed to be solved.

Any update about that? I have no clue if anyone from Radzen team has been able to reproduce the issue. I have no feedback from that issue. I don't even know if they tried to reproduce it...

Hey @frantz-nappert,

Although we are trying to read/answer all forum threads I would like to kindly remind you that we are open source, you have full access to our source code and you can easily debug whatever bothers you. We also accept pull requests!

PS: BTW I'm unable to reproduce such problem.
DataList

Well, it's because when I wrote the issue, there was a list of 70 items. Now the full list in the demo seems to contain 77 items, which will be difficult to divide by 2 and get an even number... There seems to needs to be the entire 2nd half of the list on the 2nd page to have the issue




Exactly, now scroll up and count the numbers of items displayed...!

The UI is definitely refreshed and the count of the items on the page is not 35:

however I see what you are after and here is how to fix it: