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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

hide and show menu item

Thread ID:

Created:

Updated:

Platform:

Replies:

122126 Feb 18,2016 01:21 PM UTC Feb 22,2016 07:04 AM UTC WinForms 4
loading
Tags: RibbonControlAdv
handoyo
Asked On February 18, 2016 01:21 PM UTC

Hi, i wonder if it's possible to show and hide menu toolstrip button dynamically?I'm intending to make role based menu which shows and hide certain menu based on the role. Thanks. 

Senthil Kumaran Rajan [Syncfusion]
Replied On February 19, 2016 01:22 PM UTC

Hi Handoyo,

Thanks for contacting Syncfusion Support.

We have prepared the sample based on the reported requirement in ToolStripEx and it can be downloaded from the below location.

Sample : http://www.syncfusion.com/downloads/support/forum/122126/ze/ToolStripMenuButton734410932

Could you check with the above solution and let us know whether the provide solution is helpful? If we have misunderstood your query please provide some additional details about the reported requirement, it will be helpful for us to analyze and provide you a prompt solution as early as possible.

Regards,
Senthil

handoyo
Replied On February 20, 2016 01:17 AM UTC

Hi, thanks for the reply. I will test it. Btw do you have the vb version? Thanks.

handoyo
Replied On February 20, 2016 01:27 AM UTC

Hi, I have this code in my current project. It is for the default vs toolstripmenu. Can I use it for syncfusion menu or should I need to modify it? Thanks.

Attachment: modMenu_ff01fe68.zip

Senthil Kumaran Rajan [Syncfusion]
Replied On February 22, 2016 07:04 AM UTC

Hi Handoyo,

Thank you for your update.

Yes, you can use this for Syncfusion menu items also, We have prepared the sample and video for your reference to show and hide our Syncfusion controls dynamically in ToolStripEx and it can be downloaded from the below location.

Sample : http://www.syncfusion.com/downloads/support/forum/122126/ze/ToolStripMenuButton1865443241

Video : http://www.syncfusion.com/downloads/support/forum/122126/ze/ShowHideToolStripItems-670464168

Could you check with the above solution and let us know whether the provided solution is helpful? If we have misunderstood your query please provide some additional details about the reported requirement it will be helpful for us to analyze and provide you a prompt solution as early as possible.

Regards,
Senthil

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.

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

;