RadzenTree not showing correct state in UI after reload

The control provides this option via the mentioned API - either via the level or in NodeExpand.

Here is how it works in this online demo.

This expands the root node with text "proc":

expand-on-demand

<RadzenTreeLevel Text=@GetTextForNode Template=@FileOrFolderTemplate 
    Expanded=@((value) => GetTextForNode(value) == "proc") />

While this expands the child with text "self"

args.Children.Expanded = (value) => GetTextForNode(value) == "self";