examples

Are there any examples of the ribbon control in vb.net ?


14 Replies 1 reply marked as answer

SS Sekar Sivalingam Syncfusion Team November 15, 2024 06:39 AM UTC

Hi Vertommen Kim,

Thank you for reaching out.

Yes, we do have examples of the Ribbon control in VB.NET. You can find the VB.NET samples and detailed information in our documentation. Please check the following link:

Ribbon Control Documentation - Getting Started

If you need any additional assistance or have specific questions about the Ribbon control, please feel free to ask.


Regards,
Sekar Sivalingam



KV KV November 17, 2024 11:12 AM UTC

i followed the tutorial on the syncfusion site to add a ribbon but i cant select the toolstripitems and when i run the app the toolstripitems disappear.





KV KV November 17, 2024 11:13 AM UTC

the app


Attachment: Cataloog2.0_f8ff9e99.zip

Marked as answer

SS Sekar Sivalingam Syncfusion Team November 19, 2024 11:09 AM UTC

Hi Vertommen Kim,

Thank you for sharing the sample and details.

We have reviewed the sample you provided and confirmed that this behavior is a known issue. Specifically, in .NET Core projects, changes made at design time do not get properly serialized in the Designer.cs file. As a result, the ToolStripItems are not retained, and the UI differs between design and runtime.

This issue has already been reported in the MSDN forum. You can find more details at the following link:
In .NetCore project, Changes made in the Designer not being Serialized in the Designer.cs file · Issue #11664 · dotnet/winforms

We are actively monitoring the MSDN thread and will provide you with an update as soon as we receive any response or resolution. If you have any further questions in the meantime, please let us know.


Regards,
Sekar Sivalingam



KV KV November 19, 2024 07:20 PM UTC

Could it be a solution to use an older version of syncfusion or is the problem in vs2022?

is there any way to solve this so i can use a ribbon in my app or is there an other way to add a ribbon ?



SS Sekar Sivalingam Syncfusion Team November 20, 2024 03:45 PM UTC

Hi Vertommen Kim,

The issue occurs because changes made in the designer are not serialized in the Designer.cs file in .NET Core projects. As a temporary solution, you can manually add the required code for the Ribbon and ToolStripItems directly in the Form1.cs file. This ensures the changes remain stable at design-time and runtime.

Let us know if you need guidance with this approach.

Regards,

Sekar Sivalingam



KV KV November 20, 2024 04:56 PM UTC

How do i do that ?



SS Sekar Sivalingam Syncfusion Team November 22, 2024 03:16 PM UTC

Hi Vertommen Kim,

We have reviewed your issue with the Ribbon control and have implemented a solution by moving the code from the Form1.Designer.vb file into the Form1.vb file. This resolves the issue with the ToolStripItems not being selectable at runtime and ensures the changes are stable between design time and runtime.

Please refer to the attached sample for the updated approach. This should now allow you to use the Ribbon control as expected in your .NET Core application.

If you need further assistance or have any additional questions, feel free to reach out.

Regards,

Sekar Sivalingam


Attachment: Cataloog2.0_a2c3b94d.zip


KV KV November 24, 2024 11:02 AM UTC

So it's not possible to work in the designer form ?

this makes it difficult for me.

Would it be an option for working in an older version of VS or sncfusion ?

i can only find samples in cs and not in vb.net



KV KV November 28, 2024 07:03 AM UTC

So it's not possible to work in the designer form ?

is there an other solution to work in the designer for maken a windows app

Would it be an option for working in an older version of VS or sncfusion ?

i can only find samples in c# and not in vb.net



SS Sekar Sivalingam Syncfusion Team November 28, 2024 11:23 AM UTC

Hi Vertommen Kim,

For the design-time serialization issue in .NET Core projects, you can use two solution files ,one in .NET Framework for design-time and another in .NET Core. You can design in the Framework project and transfer the code to your Core project. We’ve also attached a video reference to help with this process.

 

We’ve logged a feature request to add VB.NET samples for the Ribbon control in our documentation. 

Feedback link:: Request for VB.NET Examples of RibbonControl in WinForms in WinForms | Feedback Portal

 

If you have any further questions or need additional assistance, please feel free to reach out. We are here to help!


Regards,
Sekar Sivalingam


Attachment: Video195182_19cd5886.zip


KV KV November 28, 2024 07:14 PM UTC

thx for the support but the problem is that i cant select anything in the riddon (form.vb).

I cant switch between toolstriptabitems and cant add buttons.

if a change from form.vb to form.designer.vb and back all my tabitems are gone.



SS Sekar Sivalingam Syncfusion Team December 4, 2024 08:07 AM UTC

Hi Vertommen Kim,

We have already submitted a query related to your reported issue "Unable to switch ToolstripTabItems in Designer" to Microsoft. Once we receive a solution, we will update you. Please refer to the below link for your reference.

 

Link: Unable to switch the tabs using mouse. Only switching the tab can be done through TabKey navigation at DesignTime · dotnet/winforms · Discussion #12390

 

Regards,
Sekar Sivalingam



SS Sekar Sivalingam Syncfusion Team February 4, 2025 11:17 AM UTC

Hi Vertommen Kim,


We have included the fix for the reported issue “Unable to switch the tabs using mouse. Only switching the tabs can be done through Tab key navigation at DesignTime ” in our Weekly NuGet release version 28.2.4 which is available for download ( https://www.nuget.org/).


Root Cause: The OnMouseDown event is missing in the Designer.cs file. Core projects access methods exclusively from the Designer.cs file during any design-time interactions, which leads to this issue.

 

We thank you for your support and appreciate your patience in waiting for this update. Please get in touch with us if you require any further assistance.


Regards,
Sekar Sivalingam


Loader.
Up arrow icon