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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Exception adding group bar to Form/Control

Thread ID:





78036 Nov 26,2008 12:11 AM UTC Jan 18,2010 01:29 PM UTC WinForms 5
Tags: Tools
Administrator [Syncfusion]
Asked On November 26, 2008 12:11 AM UTC

I'm getting the exception below in my project when I attempt to add a GroupBar to a UserControl. Has this been reported yet? Ideas for a resolution?

Microsoft Visual Studio
Failed to create component 'GroupBar'. The error message follows:

'System.InvalidCastException: Unable to cast object of type 'Syncfusion.Windows.Forms.Tools.XPMenus.XPMenusProvider' to type 'Syncfusion.Windows.Forms.IContextMenuProvider'.

at Syncfusion.Windows.Forms.MenuProviderFactory.CreateContextMenuProvider()

at Syncfusion.Windows.Forms.Tools.GroupBar..ctor()'

Hemaladha K [Syncfusion]
Replied On November 26, 2008 08:31 AM UTC

Hi Sean,

Thank you for your interest Syncfusion Products.

I am afraid that I was not able to reproduce the reported issue, I have created a simple sample to test this issue which is available in the following link:


Could you please provide us the information regarding Essential studio version in which the issue is reproduced, so that I could work in depth and provide you a better solution?

Please let me know if any concerns.


Administrator [Syncfusion]
Replied On November 26, 2008 05:44 PM UTC

Please disregard my post. I had inadvertently pulled in Syncfusion components for the 2.0 framework even though my project targets the 3.5 framework. Once I resolved this issue I was able to create the GroupBar as expected.

Hemaladha K [Syncfusion]
Replied On December 8, 2008 06:26 AM UTC

Hi Sean,

Thank you for your update.


Sergey Merkuriev
Replied On January 14, 2010 05:37 PM UTC

I have same problem for all versions 6.4 and 7.4

Rajasekar B [Syncfusion]
Replied On January 18, 2010 01:29 PM UTC

Hi Sergey,

It seems you have posted the same query in incident also. And the solution has been posted in that incident. Can you follow up that incident.



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

or the page will be automatically redirected to 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