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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Menu items Not Showing Up

Thread ID:

Created:

Updated:

Platform:

Replies:

148587 Oct 25,2019 03:20 PM UTC Oct 31,2019 08:39 AM UTC WinForms 5
loading
Tags: MainFrameBarManager
Frank
Asked On October 25, 2019 03:20 PM UTC

I followed the "Getting Started" section on DOCs.
But, none of my menu items show.
Neither do they show in your sample code.

Attached is my test project

Attachment: SynFusMenuBar_471ae112.zip

Thirupathi Bala Krishnan [Syncfusion]
Replied On October 28, 2019 07:10 AM UTC

Hi Frank, 
 
Thanks for contacting Syncfusion support. 
 
We have analyzed the reported query – “Menu items does not displayed inside the bar”. We have checked the code snippet in the shared sample. Here you have missed the addition of bar items to the particular bar. Due to this, none of the bar items displayed in the bar. 
 
Please refer the following code sample. 
 
# Form1.Designer.VB 
 
        ' 
        'Bar1 
        ' 
        Me.Bar1.BarName = "maninMenu" 
        Me.Bar1.Caption = "maninMenu" 
        Me.Bar1.Manager = Me.MainFrameBarManager1 
        ' Add ParentBarItem to Bar 
        Me.Bar1.Items.AddRange(New Syncfusion.Windows.Forms.Tools.XPMenus.BarItem() {ParentBarItem1, BarItem1}) 
        ' 
        'ParentBarItem1 
        ' 
        Me.ParentBarItem1.BarName = "ParentBarItem1" 
        Me.ParentBarItem1.CategoryIndex = 0 
        Me.ParentBarItem1.ID = "mnuFile" 
        Me.ParentBarItem1.MetroColor = System.Drawing.Color.FromArgb(CType(CType(67, Byte), Integer), CType(CType(201, Byte), Integer), CType(CType(232, Byte), Integer)) 
        Me.ParentBarItem1.ShowToolTipInPopUp = False 
        Me.ParentBarItem1.SizeToFit = True 
        Me.ParentBarItem1.Text = "mnuFile" 
        Me.ParentBarItem1.WrapLength = 20 
        ' Add BarItem to ParentBarItem 
        Me.ParentBarItem1.Items.AddRange(New Syncfusion.Windows.Forms.Tools.XPMenus.BarItem() {BarItem1}) 
 
 
Please refer the following screenshot for your reference. 
 
 
 
 
Please let us know if you need any further assistance. 
 
Regards,
Thirupathi B.
 


Frank
Replied On October 28, 2019 10:50 AM UTC

Thanks,

You are showing me code added in the auto-generated code.

I followed the docs exactly.
What step in the GUI designer did you do to get it to show.

My returned example you edited looks the same.
What is different?



Thirupathi Bala Krishnan [Syncfusion]
Replied On October 29, 2019 02:05 PM UTC

Hi Frank,

Thanks for the update.
 
 
We have checked your reported query – “How to add the bar items to the Bar via designer”. You can achieve this requirement by Drag and drop the Bar items into the MainFrameBarManager control. After performing the drag and drop operation, the following code snippets are added automatically in designer file. 
 
Me.Bar1.Items.AddRange(New Syncfusion.Windows.Forms.Tools.XPMenus.BarItem() {ParentBarItem1, BarItem1}) 
 
Me.ParentBarItem1.Items.AddRange(New Syncfusion.Windows.Forms.Tools.XPMenus.BarItem() {BarItem1}) 
 
 
 Please refer the following screenshot for your reference. 
 


 
Please refer the attached videos from the following location: 
 
If the above solution does not meet your actual requirement, could you please share the detailed description about your requirement so that it could be helpful to provide the solution at the earliest.

Regards,
Thirupathi B.
 


Frank
Replied On October 29, 2019 03:03 PM UTC

Okay... Got it.

But that part IS NOT on this page....


You may want to add that part

Thirupathi Bala Krishnan [Syncfusion]
Replied On October 31, 2019 08:39 AM UTC

Hi Frank,

Thanks for the update.

We have logged the documentation task for the reported scenario – “Need to update the content for adding menu items via designer page” and the updated contents will be refreshed in our website by mid-December, 2019. 

Please let us know if you need any further assistance.

Regards,
Thirupathi B. 


CONFIRMATION

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