Sometime there is not any data adaptor request at all. Sometime only the first renderings works well, and any events like paging or filtering break grid result rendering. Grid is working, but data are not shown at all.
I think Setting PageSize in 19.4.0.52 no longer working has the same source.
In almost all my grids I use the custom data adapter which returns
return DataManagerRequest.RequiresCounts ? new DataResult
{
Result = MappedData ?? new(),
Count = DataCount,
Aggregates = DataAggregates
} : MappedData;
where MappedData is List<...>
After many tries to check the grid behavior I found once an error: "failed to convert List<...> to IEnumerable<...>".
Probably it is the reason.
I tried to return
return DataManagerRequest.RequiresCounts ? new DataResult
{
Result = (MappedData ?? new()) as IEnumerable<TResult>,
Count = DataCount,
Aggregates = DataAggregates
} : MappedData;
but the behavior of grid is the same. It looks like grid work, but the data adaptor is not requested and grid is empty. Only the first rendering works sometimes. Data adaptor is not requested at all. I cannot repeat the error with IEnumerable, noone error is shown.
Hi Renjith,
It is very complicated to supply any codes from my web-site to you, because it is complicated and
strongly tied in between pages and classes.
You can check the work of next pages:
https://www.codamusic.ua/Products
https://www.codamusic.ua/Blogs
https://www.codamusic.ru/Brands - only this page shows any on the first rendering
If you will not have any ideas I can connect you to my work computer with Google remote desktop.