When I switch the two menu program (the two Page all with the TreeView Compoment and others compoments),
Work fine video for Blazor Server 188.8.131.52, but exception for
Attach zip with my two debug videos.
Please kindly help!
Greetings from syncfusion support.
We understand that you are facing an issue with implementing the Blazor TreeView component. We have prepared a simple sample of the Blazor TreeView component. But we are unable to replicate the reported issue from our side. We suspect that the reported issue occurs due to an incorrect field value being mapped in your application.
We have attached the prepared sample for your reference. Please check the shared sample and compare the shared sample with your sample.
If the issue still persists from your side, share us the code snippets or else replicate the issue in the shared sample. It will help us to provide a prompt solution.
Thanks for your help.
Your Simple sample work fine, but I think mycode is more complex (two treeview control for dragdrop to maintain DB data), and it's difficult to direct share full code to you with db certification .
I check the field value being mapped is correct.
It's strange when I set OnInitializedAsync() call the two TreeView get datasource at the same time will exception , but remark Initial call the RightTree datasource by button call get datasource will ok.
From the shared details in your update, we understand that you are facing an issue with the Blazor TreeView component while initializing data. The reported issue only occurs while returning empty data to the TreeView component after using the await call in OnInitializedAsync from your side.
To overcome the issue, we suggest you set the valid data source to TreeView from your side. We have handled similar issues before. Please check the below link for reference.
Please check the shared details and get back to us if you need any further assistance.
That's just great, Thank you for support again!
We are glad that your reported query has been resolved. Please get back to us if you need any further assistance.