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 Toolbar Items

Is there a way to hide toolbar items? I have found where I can disable by using Me.CERToolbar.Items.Find("New CER").disabled = true, but I would like hide it, not just disable it.


3 Replies

RP Rekha P Syncfusion Team September 10, 2008 09:52 AM UTC

Hi Kathy,

Thank you for your interest in Syncfusion Products.

Yes, it is possible to hide the toolbar items. Please refer the below code snippet in the ToolBar click event to hide the selected the toolbar item,


e.Item.Visible = false;


Also please refer the below link for sample files,
http://www.syncfusion.com/development/uploads/76494-HidingToolbarItems_6d466f9.zip

Please let me know if you have any concerns.

Thanks,
Rekha



KG Kathy Gray September 10, 2008 06:54 PM UTC

The .visible attribute does not show up when I try that code. I am using version 6.102.0.34. Was it added in a later version?

>Hi Kathy,

Thank you for your interest in Syncfusion Products.

Yes, it is possible to hide the toolbar items. Please refer the below code snippet in the ToolBar click event to hide the selected the toolbar item,


e.Item.Visible = false;


Also please refer the below link for sample files,
http://www.syncfusion.com/development/uploads/76494-HidingToolbarItems_6d466f9.zip

Please let me know if you have any concerns.

Thanks,
Rekha





RP Rekha P Syncfusion Team September 11, 2008 04:22 AM UTC

Hi Kathy,

Yes, the support for .Visible property is not in the version 6.102.0.34 and it is newly added in our latest version 6.3.1.8. You can download this version from the below link,

http://www.syncfusion.com/downloads/latestversion/default.aspx

Please try the sample in the latest version and if still the issue exists please let me know.

Thanks,
Rekha


Loader.
Live Chat Icon For mobile
Up arrow icon