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.

Problems with Ribbon and Office menu

Thread ID:

Created:

Updated:

Platform:

Replies:

124386 Jun 6,2016 11:07 AM Jun 7,2016 08:19 AM Windows Forms 1
loading
Tags: RibbonControlAdv
Pablo Maloberti
Asked On June 6, 2016 11:07 AM

Hi, i'm just starting to use Essential Studio Community with my developments and I'm having trouble with RibbonContrlAdv, which i'd really like to use, specifically the Office menu in it. The only way it seems to work is if the ribbon style is set to office 2007(with the circle menu), other than that, I cant add controls to it via designer, and if i do it adding them through its items collection in its properties, I dont see anything when I run the program, clicking the Office menu tab does nothing at all.
Am I doing something wrong?
Thanks in Advance.

Keerthana Jegannathan [Syncfusion]
Replied On June 7, 2016 08:19 AM

Hi Pablo, 
 
Thank you for contacting Syncfusion support. 
 
Yes, we think you would like to use Office2007 like Menu button selection behavior in other RibbonStyle options like Office2010, Office2013 and TouchStyle. If so, circle shaped Menu button and its option view is applicable for Office2007 style and not for other Ribbon styles.  
 
As like in MS Office 2010, 2013 and 2016 applications Menu button selection will make to display BackStage View. And if you would like to have Office2007 style like for other styles, then that can be achieved by using PopUpContainer and handling MenuButton Click event. Please refer to the below code snippet. 
 
[C#] 
// To load the PopUpContainer control into the Menu Button 
if (this.ribbonControlAdv1.RibbonStyle == Syncfusion.Windows.Forms.Tools.RibbonStyle.Office2010 || this.ribbonControlAdv1.RibbonStyle == Syncfusion.Windows.Forms.Tools.RibbonStyle.Office2013) 
{ 
    if (!isPopupVisible) 
    { 
        if (sender is ToolStripDropDownButton) 
        { 
            isPopupVisible = true; 
            Point pt = this.RectangleToScreen((sender as ToolStripDropDownButton).Bounds).Location; 
            this.popupControlContainer1.ShowPopup(new Point((int)(pt.X), (int)(pt.Y + (sender as ToolStripDropDownButton).Bounds.Height))); 
        } 
    } 
else 
{ 
           isPopupVisible = false; 
           this.popupControlContainer1.HidePopup(); 
} 
} 
 
We have prepared sample for your reference which can be downloaded from the below location. 
 
 
Screenshot: 
 
For Office2007 Style 
 
 
 
For Office2010 Style 
 
 
 
We have prepared video to explain the behavior of Ribbon with Backstage for other Ribbon Styles which can be downloaded from the below location. 
 
 
Also refer the below link for further reference 
 
 
Can you please check with above solutions and let us know if it helps? If not, guide us with more details so that we can analyze and provide prompt solution as earlier as possible.  
 
Regards, 
Keerthana 


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.

;