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.

Duplicating BarItems

Thread ID:

Created:

Updated:

Platform:

Replies:

68435 Sep 21,2007 07:15 AM Mar 11,2008 10:54 PM Windows Forms 5
loading
Tags: Tools
Raghav
Asked On September 21, 2007 07:15 AM

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

Bhuvaneswari P [Syncfusion]
Replied On September 24, 2007 09:22 AM

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

Raghav
Replied On September 26, 2007 01:05 AM

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.

Bhuvaneswari P [Syncfusion]
Replied On September 26, 2007 07:48 AM

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

Raghav
Replied On September 27, 2007 12:41 AM

Hi Bhuvana,

Thanks, we will download the latest version.

Regards,
Raghavendra

Administrator [Syncfusion]
Replied On March 11, 2008 10:54 PM

Hi Raghavendra,

Thanks for the update.

Best Regards,
Bhuvana


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.

;