TreeNavigator Visual Studio does not allow to add TreeMenuItem

Hi,


I started vb.net project in .Net 8 framework. Through Designer I added Syncfusion TreeNavigator control and after that I tried to add TreeMenuItem but Visual studio showed me this message.

Image_7514_1750695144163


You can see that Item Collection is not even in the popup menue.

Image_9795_1750695734630

In my previously project that was also in vb.net but .net framework 4.8 everything worked fine.

Image_3389_1750695827347


Maby, I didn't add imports as I should. So, I sand you compressed files of SfForm "Glavna" where TreeNavigator is placed. Also I added video how I got message from Microsoft Visual studio.

I believe that the problem is not big, but I am missing something. 

Thanks in advance.

Best regards,

Sabian S.


Attachment: EM_2025_d9df882b.zip

3 Replies 1 reply marked as answer

BS Bhaskar Suresh Syncfusion Team June 25, 2025 01:09 PM UTC

Hi Sabian Sirius,


As we have recently expanded support for .NET Core designers through the Microsoft WinForms Designer SDK, we have faced challenges with specific properties in certain controls. We are presently enhancing designer support for our controls gradually and plan to introduce this feature in one of our upcoming releases.


We have already logged a feature request for your requirement "Provide support to add TreeMenuItem for the Items Property in NET core designer for TreeNavigator control". Refer to the link below.

Provide support to add TreeMenuItem for the Items Property in NET core designer for TreeNavigator control in WinForms | Feedback Portal


At the planning stage for every release cycle, we review all open features and identify features for implementation based on specific parameters including product vision, technological feasibility, and customer interest. We will let you know when this feature is implemented. We appreciate your patience until then.


We are always trying to make our products better, and feature requests like yours are a key part of our product growth efforts. If you have any more specifications or suggestions for the feature request, you can add them as a comment in the portal and cast your vote to make it count.


Marked as answer

SS Sabian Sirius June 26, 2025 08:23 AM UTC

Hi,


Thank you for your answer. After I sent you question I tried to add TreeMenuItem manually. I added code as it is in my previous vb.net project (.net framework 4.8). This is accepted and you can see in TreeNavigator TreeMenuItem but you cannot add another one through Designer. Application works Ok with this.


Best regards,

Sabian S.


Image_4949_1750926180870



MM Malik Moeed June 27, 2025 11:27 AM UTC

It sounds like you're encountering a design-time error when adding a TreeMenuItem to the TreeNavigator in your VB.NET (.NET 8) project using Syncfusion controls.

Here are a few quick suggestions to resolve the issue:

  1. Ensure Compatibility: Confirm that the Syncfusion version you're using supports .NET 8. Some older versions might not fully support it.

  2. Add Programmatically: Instead of using the designer, try adding TreeMenuItems in code:

    vb.net
    Dim item As New TreeMenuItem() item.Header = "Sample Item" TreeNavigator1.Items.Add(item)
  3. Check Toolbox References: Make sure the Syncfusion controls are properly added to your toolbox and referenced in your project.

  4. Update Visual Studio & Syncfusion: Keep both Visual Studio and the Syncfusion NuGet packages up to date to avoid designer incompatibilities.

If the issue persists, check the Output or Error List in Visual Studio for more details, or share the specific error message shown.


Loader.
Up arrow icon