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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

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

Thread ID:





147945 Sep 28,2019 04:23 PM UTC Sep 30,2019 07:16 AM UTC Blazor 1
Tags: TreeView
Asked On September 28, 2019 04:23 PM UTC

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

Kanagambigai Murugan [Syncfusion]
Replied On 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. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon