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

MainFrameBarManager not usable on UserControl?

Thread ID:

Created:

Updated:

Platform:

Replies:

57202 Feb 27,2007 06:30 PM UTC Mar 15,2008 12:34 PM UTC WinForms 2
loading
Tags: Tools
Robbe Morris
Asked On February 27, 2007 06:30 PM UTC

When I drag this control onto a UserControl, it tells me this control can only be used on a form.

Why is that?

Is there a workaround that would enable me to use the XPMenu like your Grid sample that deals with Excel?

Murugan [Syncfusion]
Replied On February 27, 2007 08:14 PM UTC

Hi Robbe,

We are sorry to say that with the current implementation of XPMenus, we could not use XPMenus in UserControl. We have already logged feature request in this regard. Here is the feature request link

Add support for hosting the XPMenus framework in a UserControl.

However we use Form as UserControl by setting FormBorderStyle = FormBorderStyle.None and Form.TopLevel = false. So the Form works like a UserControl. Please refer to the attached sample and let me know if it helps you.

Word2007

Thank you for using Syncfusion products.

Regards,
Murugan P.S

Klaus
Replied On March 15, 2008 12:34 PM UTC

Hello,


>Hi Robbe,

We are sorry to say that with the current implementation of XPMenus, we could not use XPMenus in UserControl. We have already logged feature request in this regard. Here is the feature request link

Add support for hosting the XPMenus framework in a UserControl.

Do you have any news when this feature will be available ? the request is already one year old ...

Klaus


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.

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

;