This is a migrated thread and some comments may be shown as answers.

2.14 version OnExpand problem in Lazy mode

1 Answer 22 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Andriy
Top achievements
Rank 1
Andriy asked on 26 May 2020, 01:02 PM
Hello, Marin.
After upgrade from 2.12 to 2.14 version I have a problem
When I expand a node, I have exception.
Microsoft.AspNetCore.Components.Server.Circuits.RemoteRenderer: Warning: Unhandled exception rendering component: Object reference not set to an instance of an object.

System.NullReferenceException: Object reference not set to an instance of an object.
   at Telerik.Blazor.Components.TreeView.TreeViewNode.ToggleAnimationContainerAsync()
   at Telerik.Blazor.Components.TreeView.TreeViewNode.ToggleExpand()
   at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)
   at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle)
Microsoft.AspNetCore.Components.Server.Circuits.CircuitHost: Error: Unhandled exception in circuit 'hyHyoH3D6-TdzHqjUEAgnTTMn8agGOfRQaRZTjj0xzs'.

Microsoft.AspNetCore.Components.Server.Circuits.RemoteRenderer: Warning: Unhandled exception rendering component: Cannot process pending renders after the renderer has been disposed.
Object name: 'Renderer'.
Even if I'm not use OnExpand event I have same problem in 2.14. In 2.12 all works fine.
Thank you.

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 27 May 2020, 04:32 PM

Thank you for reaching out, Andriy. I made this page where you can Follow the status of the bug: https://feedback.telerik.com/blazor/1469127-when-using-onexpand-you-get-object-reference-not-set-to-an-instance-of-an-object.

By the way, we're working on selection and node click event in the treeview.

 

 

Regards,
Marin Bratanov
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
TreeView
Asked by
Andriy
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or