We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Bug with GetTreeData() and tree with a lot of items

I Discovered bug with TreeView with a lot of items inside.
When I call GetTreeData()  the server disconnect and after 2-3 minutes I have an error on Visual Studio saying "Task Cancelled".
In the attachment you can find a sample

Attachment: SynfusionTest_9005186f.zip

1 Reply

KM Kanagambigai Murugan Syncfusion Team September 30, 2019 07:16 AM UTC

Hi Elio, 

Good day to you. 

We have checked the reported issue at our end. In Server side Blazor projects, if we are using a large amount of data to render items as in this sample or in general, we need to add below configuration in the startup.cs file to avoid the below exception. 

fail: Microsoft.AspNetCore.SignalR.HubConnectionHandler[2]  
      Error when processing requests.  
System.IO.InvalidDataException: The maximum message size of 32768B was exceeded.   
The message size can be configured in AddHubOptions.  

services.AddServerSideBlazor().AddHubOptions(o => 
                o.MaximumReceiveMessageSize = 102400000; 

We have modified your sample. 

Kindly check the above sample and get back to us if you need any further assistance. 

Kanagambigai M. 

Live Chat Icon For mobile
Up arrow icon