Perhaps there were some related issues with that version. I suggest upgrading the Telerik and trying again.
Regards,
Attila Antal
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.
I tried to re-run your attached solution but still able to replicate the issue. I have attached a screen recording on how I was able to replicate the issue. https://www.screencast.com/t/t5DXxljQkf Thanks
Attila Antal
Telerik team
commented on 03 Feb 2023, 03:39 PM
Hi Rodulfo,
Thanks for the additional information. I was able to replicate the problem. This is rather related to the HierarchyLoadMode. If set to Client, the RetainExpandStateOnRebind property is not required. The expanded state is being saved and carried across PostBacks automatically.
Only if you have the HierarchyLoadMode set to ServerBind orServerOnDemand, the Grid will look for the expanded state, and if it finds one, it will render the Child Tables as expanded.
Is there a wiki that expands on how to use HierarchyLoadMode?
My application ran into the issue described here, "Collection was modified; enumeration operation may not execute", today. I'm running on Kendo UI for JQuery version 2021.3.914 and I can't find anything related to HierarchyLoadMode in the Kendo UI for JQuery documentation.
The discussion in this forum is targeting the server-side RadGrid control for ASP.NET AJAX but not the Kendo jQuery client-side Grid Widget.
If the case here is about the Kendo UI Grid for jQuery I would recommend researching the Kendo Forum for issues similar to the one you are facing. Or open a new forum thread there so you can get the most accurate assistance.