# Radzen Treeview - Limits

**URL:** <https://forum.radzen.com/t/radzen-treeview-limits/17332>\
**Category:** Radzen.Blazor Components\
**Created:** [May 16, 2024, 1:07pm UTC](https://forum.radzen.com/t/radzen-treeview-limits/17332 "2024-05-16T13:07:55Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Scott\_Gerstenberger](https://forum.radzen.com/user_avatar/forum.radzen.com/scott_gerstenberger/32/15176_2.png) [@Scott\_Gerstenberger](https://forum.radzen.com/u/Scott_Gerstenberger)\
**Post date:** [May 16, 2024, 1:07pm UTC](https://forum.radzen.com/t/radzen-treeview-limits/17332/1 "2024-05-16T13:07:56Z")

</div>

What are the limits on the Radzen Treeview in terms of node count? Using the same code found on [https://blazor.radzen.com/tree-checkboxes](https://blazor.radzen.com/tree-checkboxes), I am able to get it to work without issues. But once I connect to my data of over 12,000+ items, issues start happening with the tracking of the selected checkboxes.

The tree loads with all the nodes, but once a checkbox is selected, there is a looooong pause before I can make another selection. To the point that the browser message stating no response pops up (and I have to tell it to wait)

Once the page unfreezes after some time, then I can continue making checkbox changes without issue. Its always right at the beginning.

If I remove the code that keeps track of the selections, the checkbox changes work as expected. I tried changing the the way the checked boxes are captured, but it gives the same problem. Seems like whenever I do something with captured checkboxes, there is a long pause at first.

```auto
IEnumerable<object> CheckedValues
    {
        get => checkedValues;
        set
        {
            checkedValues = value;
            if (checkedValues != null)
            {
                console.Log($"CheckedValues Changed {string.Join(Environment.NewLine, value.Select(GetText))}");
            }
        }
    }

```

---

<div class="post-metadata">

**Author:** ![richardaubin](https://forum.radzen.com/user_avatar/forum.radzen.com/richardaubin/32/18168_2.png) [@richardaubin](https://forum.radzen.com/u/richardaubin)\
**Post date:** [May 18, 2024, 2:13am UTC](https://forum.radzen.com/t/radzen-treeview-limits/17332/2 "2024-05-18T02:13:47Z")

</div>

I'm also experiencing something similar with a checkboxlist...

I get a random time delay between click and update on the first check only. Any subsequent checks happen instantaneously. The delay can be over a second or more at times.

The delay shown happens when I click at 06:21 (when the pointer highlight expands) in the video.

[![](https://img.youtube.com/vi/cMGsV35Xzho/maxresdefault.jpg "Radzen checkbox click delay") ](https://www.youtube.com/watch?v=cMGsV35Xzho)

---

<div class="post-metadata">

**Author:** ![korchev](https://forum.radzen.com/user_avatar/forum.radzen.com/korchev/32/4_2.png) [@korchev](https://forum.radzen.com/u/korchev)\
**Post date:** [May 18, 2024, 7:16am UTC](https://forum.radzen.com/t/radzen-treeview-limits/17332/3 "2024-05-18T07:16:27Z")

</div>

Can you try this: [Radzen scheduler takes time to load - #9 by korchev](http://forum.radzen.com/t/radzen-scheduler-takes-time-to-load/13969/9)

---

<div class="post-metadata">

**Author:** ![Djordje](https://forum.radzen.com/letter_avatar_proxy/v4/letter/d/f475e1/32.png) [@Djordje](https://forum.radzen.com/u/Djordje)\
**Post date:** [May 18, 2024, 11:48am UTC](https://forum.radzen.com/t/radzen-treeview-limits/17332/4 "2024-05-18T11:48:54Z")

</div>

Same behaviour with "DropDown multiple selection" when adding roles to users. First check is very long, several seconds although there are few roles in application.

---

<div class="post-metadata">

**Author:** ![richardaubin](https://forum.radzen.com/user_avatar/forum.radzen.com/richardaubin/32/18168_2.png) [@richardaubin](https://forum.radzen.com/u/richardaubin)\
**Post date:** [May 18, 2024, 12:07pm UTC](https://forum.radzen.com/t/radzen-treeview-limits/17332/5 "2024-05-18T12:07:32Z")

</div>

I attempted the fix recommended by @korchev and it resolved my issue.

> [@Radzen Treeview - Limits](http://forum.radzen.com/t/radzen-treeview-limits/17332/3):
>
> Can you try this: [Radzen scheduler takes time to load - #9 by korchev](http://forum.radzen.com/t/radzen-scheduler-takes-time-to-load/13969/9)

---

<div class="post-metadata">

**Author:** ![Scott\_Gerstenberger](https://forum.radzen.com/user_avatar/forum.radzen.com/scott_gerstenberger/32/15176_2.png) [@Scott\_Gerstenberger](https://forum.radzen.com/u/Scott_Gerstenberger)\
**Post date:** [May 19, 2024, 2:09pm UTC](https://forum.radzen.com/t/radzen-treeview-limits/17332/6 "2024-05-19T14:09:36Z")

</div>

Unfortunately our app is still using .NET 6 and an error comes up stating that "Feature 'Collection Expressions'" is not available and must use language version 12 (.NET 8)

Other than upgrading the entire app to .NET 8, any other suggestions?

---

<div class="post-metadata">

**Author:** ![korchev](https://forum.radzen.com/user_avatar/forum.radzen.com/korchev/32/4_2.png) [@korchev](https://forum.radzen.com/u/korchev)\
**Post date:** [May 19, 2024, 2:16pm UTC](https://forum.radzen.com/t/radzen-treeview-limits/17332/7 "2024-05-19T14:16:56Z")

</div>

You can just use

```auto
static readonly HashSet<Type> empty = new HashSet<Type();

```
