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

BarItem merging

Thread ID:





18049 Aug 23,2004 04:48 PM UTC Aug 24,2004 03:27 PM UTC WinForms 3
Tags: Tools
Sean Greer
Asked On August 23, 2004 04:48 PM UTC

Should BarItem merging extend to toolbars? I have a MDI form that has a menu and toolbar at the MainFrameBarManager level. The menu contains a Save item that is disabled and has it''s mergetype set to replace. The item is disabled (similar to VS, always has a save icon). When I open a child form, the menu item is merged properly into the parentbaritem, but the Save baritem in the toolbar does not get replaced. By design? Sean

Administrator [Syncfusion]
Replied On August 23, 2004 06:28 PM UTC

Hi Sean, I have created a sample as per your directions and the "Save" BarItem from the MDI child form''s menu correctly replaces the "Save" BarItem in the main form''s menu. Note that the MergeType has to be set to ''Replace'' for both the BarItems. Please refer to the test sample attached here and letme know if this meets your requirements. Thanks for your continued interest in Syncfusion products. Regards, Guru Patwal Syncfusion, Inc.

Sean Greer
Replied On August 24, 2004 01:28 PM UTC

Guru, I''ve made changes to your sample to more closely model what I''m looking for. I''ve added a toolbar with the ''Save'' baritem. Note that the baritem in the toolbar is not replaced. Is this by design? Sean bar_merge_7098.zip

Administrator [Syncfusion]
Replied On August 24, 2004 03:27 PM UTC

Hi Sean, Thanks for the modified sample application. Yes, this behavior is by design intent. The BarItems will merge only if their ParentBarItems too merge. Hence the BarItems do not merge in this case. Thanks for your continued interest in Syncfusion products. Regards, Guru Patwal Syncfusion, Inc.


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