Duplicating BarItems

Duplicating BarItems
---------------------
1)Create a new ->Project-> Classlibrary 'WindowsForms'.
2)Add a usercontrol 'BasePanel' and place a 'XpToolBar' control.
3)Go to properties of 'XpToolBar' change modifier to protected and add two baritems 'Add' and 'Edit' with protected modifier to the items collection.
4)Add one more usercontrol 'WindowsDetailPanel' in the same project and inherit the above usercontrol 'BasePanel'.
5)Now Re-Build the solution.
6)Now add new Windows Application project in the same solution 'Client' and place the above 'WindowsForms' dll.
7)Add a usercontrol 'ClientUserControl' and inherit the WindowsForms.WindowsDetailPanel, now you will find the 'XpToolBar' in the designer and now click on the 'XpToolBar' properties and add one baritem 'Clone' with protected modifier.

Now in the designer we find three baritems('Add', 'Edit' and 'Clone'), it is correct.

Re-Build and see the 'ClientUserControl' in the design mode you will find four baritems('Add', 'Edit','Add', 'Edit').

Here is the attachment of the WindowsForms.sln.
Look Clinet.ClientUserControl.

Thank's
Raghavendra

WindowsForms.zip

5 Replies

BP Bhuvaneswari P Syncfusion Team September 24, 2007 01:22 PM UTC

Hi Raghavendra,

Thanks for your sample and detailed explanation.

We were not able to reproduce the issue [Duplicating BarItems at the design time] as you said. Can you please let me know syncfusion which version you are using. So that we can able to reproduce issue and investigate further on this issue.

Thank you for your interest in Syncfusion products.

Best Regards,
Bhuvana


RA Raghav September 26, 2007 05:05 AM UTC

Thank's Bhuvana,

We have used .Net 2005 and syncusion 5.102.1.47 version. Follow the above mentioned steps to reproduce the problem.

Thank's
Raghavendra.


BP Bhuvaneswari P Syncfusion Team September 26, 2007 11:48 AM UTC

Hi Raghavendra,

Thanks for the update.

In version 5.102.1.47 we were able to reproduce the issue Duplicating BarItems in XPToolBar. We have fixed the issue in our latest version 5.2.0.25 and this version is a much stable version.. Could you please upgrade to version 5.2?

You can download the latest version from the below link
http://www.syncfusion.com/downloads/latestversion/default.aspx

Please let me know if you have any other question.

Best Regards,
Bhuvana


RA Raghav September 27, 2007 04:41 AM UTC

Hi Bhuvana,

Thanks, we will download the latest version.

Regards,
Raghavendra


AD Administrator Syncfusion Team March 12, 2008 02:54 AM UTC

Hi Raghavendra,

Thanks for the update.

Best Regards,
Bhuvana


Loader.
Up arrow icon