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.
Unfortunately, activation email could not send to your email. Please try again.

Hide Toolbar Items

Thread ID:

Created:

Updated:

Platform:

Replies:

76494 Sep 9,2008 02:29 PM Sep 11,2008 12:22 AM ASP.NET Web Forms (Classic) 3
loading
Tags: Tools
Kathy Gray
Asked On September 9, 2008 02:29 PM

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.


Rekha P [Syncfusion]
Replied On September 10, 2008 05:52 AM

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


Kathy Gray
Replied On September 10, 2008 02:54 PM

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




Rekha P [Syncfusion]
Replied On September 11, 2008 12:22 AM

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


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.

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.

;