examples
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
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.
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
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 ?
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
How do i do that ?
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
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
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
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
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.
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.
Regards,
Sekar Sivalingam
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