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.
Syncfusion Feedback

RibbonControlAdv: items are in an (unwanted) sub-menu

Thread ID:

Created:

Updated:

Platform:

Replies:

98639 Mar 14,2011 04:38 PM UTC Mar 18,2011 07:19 AM UTC Windows Forms 3
loading
Tags: Tools
Administrator [Syncfusion]
Asked On March 14, 2011 04:38 PM UTC

Hello,

we're currently updating from an older version of Syncfusion (6.x) to the latest one (9.1.0.20).
Unfortunately we have an issue with our Ribbon menu after the update.

When our application is maximized everything is fine: all menu-items are directly accessible.
As soon as you minimize the application (I mean shrinking it in size, not minimizing it to the task bar), all menu-items are put in a sub-menu.
I attached two screenshots for a better understanding.

I checked if the height of the ribbon changes when minimizing/maximizing: it always stays the same.
So that's why I could need some help here.

What I need is a fix, which tells the "RibbonControlAdv" that is always has the same height and that it doesn't need to put the menu items in a submenu.

Kind Regards,
Jan



screenshots_ed2d9cd4.zip

Jeraldes J [Syncfusion]
Replied On March 18, 2011 07:17 AM UTC

Hi Jan,

Regret for the inconvenience caused

I am afraid that I cannot able to reproduce the mentioned behavior. Resizing the window do not affect the ToolStripEx Collapsed/Expanded state until it reaches its minimum size, it is working fine as expected from our side. Is there any possible way for you to provide us with a sample that shows this issue? or reproduce the issue in following sample. It will be easier for us to have a closer look into the problem and to resolve it. As a workaround for your problem we suggest you to set the Cancel property to true for the StateChanging event by checking the ribbon’s width. The following code explains the same.

void toolStripEx2_StateChanging(object sender, CancelEventArgs e)
{
if (this.toolStripEx2.State == ToolStripEx.ToolStripExState.Collapsed)
{
if (ribbonControlAdv1.Width > (this.toolStripEx1.Width + this.toolStripEx2.Width))
e.Cancel = false;
}
else if (this.toolStripEx2.State == ToolStripEx.ToolStripExState.Expanded)
{
if (ribbonControlAdv1.Width > (this.toolStripEx1.Width + this.toolStripEx2.Width))
e.Cancel = true;
}
}

Here is a sample for your reference
http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=WF-GridInRibbonControl-957599082.zip

Please let us know if you have any further concerns.

Regards,
J Jeraldes


Jeraldes J [Syncfusion]
Replied On March 18, 2011 07:19 AM UTC

Hi Jan,

Addition information.

In future please follow the Direct Trac Incident #78427 for you faster responce.

Please let us know if you have any concern.

Regards,
J Jeraldes


Jeraldes J [Syncfusion]
Replied On March 18, 2011 07:19 AM UTC

Hi Jan,

Addition information.

In future please follow the Direct Trac Incident #78427 for you faster responce.

Please let us know if you have any concern.

Regards,
J Jeraldes


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

;