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. Image for the cookie policy date

hide and show menu item

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. 

4 Replies

SK Senthil Kumaran Rajan Syncfusion Team 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


HA handoyo February 20, 2016 01:17 AM UTC

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


HA handoyo 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


SK Senthil Kumaran Rajan Syncfusion Team 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

Loader.
Live Chat Icon For mobile
Up arrow icon