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.

Error when attempting to place RibbonButton on a RibbonTab

Thread ID:

Created:

Updated:

Platform:

Replies:

89699 Sep 2,2009 10:21 PM Sep 2,2009 11:41 PM WPF 1
loading
Tags: Tools
Wade Poust
Asked On September 2, 2009 10:21 PM

When I attempt to place a RibbonButton on a RibbonTab (without it being in a RibbonBar, I get the error "Unable to cast object of type 'Syncfusion.Windows.Tools.Controls.RibbonButton' to type 'Syncfusion.Windows.Tools.Controls.RibbonBar'."

Venugopal M [Syncfusion]
Replied On September 2, 2009 11:41 PM

Hi Wade,

You can't add any element without adding RibbonBar in RibbonTab. This is intended behavior to meet the Microsoft Office2007 guideline.

You should add RibbonBar in RibbonTab to host other elements such as RibbonButton.

Please let us know if you have any questions.

Thanks for your interest on Syncfusion products.

Thanks,
Venugopal.

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.

;