Error when attempting to place RibbonButton on a RibbonTab

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'."

1 Reply

VM Venugopal M Syncfusion Team September 3, 2009 03:41 AM UTC

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.

Loader.
Up arrow icon