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

MergeItems and MergeOrder

Thread ID:





13672 May 5,2004 08:24 PM UTC Nov 11,2004 12:51 PM UTC WinForms 3
Tags: Tools
Gokulraj Gopinathan
Asked On May 5, 2004 08:24 PM UTC

Hi all, I have two menubars say Menu1 and Menu2. And the menu items for Menu1 is say File,Edit and menu items for Menu2 are View, Tools. And all these menu items in these menus has mergeorder set to 0 and mergetype is Add. When I try to merge Menu2 to Menu1. After the merge the menu should display the menuitems as File,Edit,View,Tools. But when I call Menu1.MergeItems(menu2). it displays as the menu items as View,Tools,File,Edit. Please correct me if I am doing any mistake. Thanks.

Administrator [Syncfusion]
Replied On May 7, 2004 01:14 AM UTC

Hi Gokul, I have tested for this issue here in our latest version (v2.0.5.0) and the order of the BarItems was : File, Edit, View, Tools. Please refer to the test_sample attached and let me know if I have understood your requirements correctly. If not kindly modify the sample to show the problem and send it back to us so that we can take a look at it. Also let me know the version of Essential Suite that you are using. We appreciate your cooperation, and thanks for choosing Syncfusion products. Regards, Guru Patwal Syncfusion, Inc.

Gokulraj Gopinathan
Replied On November 7, 2004 07:35 AM UTC

Thanks Guru, Please find the attached file SyncMergeSample_6564.zip contains solution for the problem in merging menu items. In the sample attached, has a form loading with menu items File and Edit. each of this root item has child items. On clicking the merge button i am trying to add child items under File and Edit. The output i expect on clicking the button is File->Open;Close;Save; Save As Edit->Copy;Paste;Delete;SelectAll But the output it is showing as Edit->Delete;SelectAll File->Open;Close;Save; Save As Edit->Copy;Paste; I tried changing the mergetype of every item, but i am not able to display the expected output. please correct me if i do any mistake. thanks The strange behaviour I noticed in the above sample is that, it is merging the "File" menu item properly but not for "Edit", it is creating a copy of Edit instead of merging the items as it is doing for File menu item. I am sure that both the items has same MergeType property. Warm Regards G.Gokul Raj.

Administrator [Syncfusion]
Replied On November 11, 2004 12:51 PM UTC

Hi Gokul, Thanks for creating Direct-Trac incident 14703 in this regard. I have updated the same. Please refer to my response and let me know if you need any other information. We appreciate your 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