Approved
Last Updated: 03 Oct 2019 07:48 by ADMIN

Please refer to the attached sample project and follow the steps from the gif file. 

You will notice that each time a random group displays only images (no text) when the groups don't fit in the ribbon's width.

Workaround:

        public MDIForm()
        {
            InitializeComponent();
            this.radRibbonBar1.RibbonBarElement.ItemVisiblityStateChanging += this.RibbonBarElement_ItemVisiblityStateChanging;
        }

        private void RibbonBarElement_ItemVisiblityStateChanging(object sender, ItemVisiblityStateChangingEventArgs args)
        {
            if (args.NextVisibilityState == ChunkVisibilityState.NoText)
            {
                args.Cancel = true;
            }
        }

Approved
Last Updated: 27 May 2019 11:18 by ADMIN
Created by: M.
Comments: 5
Category: RibbonBar
Type: Bug Report
1

Hello,

 

you will find in attached image the problem for File Tab button regarding its look in the editor and when running the application. How can I resolve this difference ?

 

Best regards

Approved
Last Updated: 30 Apr 2018 11:03 by ADMIN
To reproduce: please refer to the attached sample project and gif file.

Workaround:  this.radRibbonBar1.RibbonBarElement.ApplicationButtonElement.DropDownOpened+=ApplicationButtonElement_DropDownOpened;

 private void ApplicationButtonElement_DropDownOpened(object sender, EventArgs e)
        {
            foreach (RadItem item in this.radRibbonBar1.RibbonBarElement.ApplicationButtonElement.DropDownMenu.Items)
            {
                RadMenuItem menuItem = item as RadMenuItem;
                if (menuItem!=null)
                {
                    menuItem.MinSize = new Size(item.Size.Width, 24);
                }
                
            }
        }
Approved
Last Updated: 22 Feb 2018 14:58 by ADMIN
To reproduce: please run the attached sample project and follow the steps from the gif file.

Workaround: close the popup before showing the message or the dialog:


        private void radButtonElement1_Click(object sender, EventArgs e)
        {
              if (!radRibbonBar1.Expanded)
            {
                this.radRibbonBar1.RibbonBarElement.Popup.ClosePopup(Telerik.WinControls.UI.RadPopupCloseReason.Mouse);
            }
            RadMessageBox.Show("Test");
        }
Approved
Last Updated: 20 Nov 2017 14:42 by ADMIN
Use the arrow on the right side of RadRibbonBar to collapse it. When click some of the tabs to show the popup.

Workaround: specify a minimum height for the popup:
        protected override void OnLoad(EventArgs e)
  {
            base.OnLoad(e);
            radRibbonBar1.Expanded = false;

            RibbonBarPopup pop = this.radRibbonBar1.RibbonBarElement.Popup;
            pop.PopupOpened += pop_PopupOpened;
        }

        private void pop_PopupOpened(object sender, EventArgs args)
        {
            RibbonBarPopup pop = sender as RibbonBarPopup;
            pop.MinimumSize = new Size(0, 150);
        }
Approved
Last Updated: 05 Apr 2017 14:26 by ADMIN
To reproduce:
- Add complex controls to the backstage pages (add at least 4 pages).
- Change the pages at runtime.

Workaround:
Private Sub RadRibbonBarBackstageView1_BackstageViewOpening(sender As Object, e As System.ComponentModel.CancelEventArgs) Handles RadRibbonBarBackstageView1.BackstageViewOpening
    BackstageViewPage1.Visible = True
    BackstageViewPage2.Visible = True
    BackstageViewPage3.Visible = True
    BackstageViewPage4.Visible = True
End Sub


Approved
Last Updated: 22 Aug 2016 10:49 by ADMIN
To reproduce:

1. Collapse the ribbon
2. Select the tab to show the popup
3. Type some text in the RadDropDownListElement
4. Press Escape, Enter, Backspace keys. You will notice that these keys are not handled by the drop down. However, the ribbon popup is closed and there is no way to handle these keys.
Approved
Last Updated: 05 Aug 2016 09:08 by ADMIN
Approved
Last Updated: 06 May 2016 13:37 by ADMIN
Use the attached project to reproduce.

Workaround:
private void RadForm1_SizeChanged(object sender, EventArgs e)
{
    if (this.WindowState == FormWindowState.Normal)
    {
        this.SizeChanged -= RadForm1_SizeChanged;
        this.Size = new Size(this.Size.Width + 1, this.Size.Height + 1);
        this.Size = new Size(this.Size.Width - 1, this.Size.Height - 1);

        this.SizeChanged += RadForm1_SizeChanged;
    }
}


Approved
Last Updated: 30 Mar 2016 10:52 by ADMIN
If I left-click on one of tab header, the related tab expand itself showing all the contained items.
But, if I expand the tab using the mouse right button, the tab expand itself but it appears blank!

Workaround:

private void radRibbonBar1_MouseDown(object sender, MouseEventArgs e)
{
    RibbonTab tab = this.radRibbonBar1.ElementTree.GetElementAtPoint(e.Location) as RibbonTab;
    if (tab!=null && e.Button== System.Windows.Forms.MouseButtons.Right)
    {
        tab.IsSelected = true;
    }
}
Approved
Last Updated: 30 Mar 2016 10:51 by ADMIN
How to reproduce: set a size in the designer, when the form loads its size will not be the same as the one set

Workaround: set the size in the Load event of the ribbon form

private void Form_Shown(object sender, EventArgs e)
{
	this.Size = new Size(600, 600);
}
Approved
Last Updated: 30 Mar 2016 10:50 by ADMIN
When Windows aero effects are enabled and the form width is being decreased, the title bar text appears over the title bar buttons and further more when continuing reducing the width of the form the buttons disappear and a small blue rectangle is shown instead.
Approved
Last Updated: 30 Mar 2016 10:49 by ADMIN
To reproduce:
- Set the Windows theme to Windows 7 Basic
- Start a RadRibbonForm and maximize it

Workaround:

void Form1_Resize(object sender, System.EventArgs e)
{
    if (this.WindowState == FormWindowState.Maximized)
    {
        this.RibbonBar.RibbonBarElement.IconPrimitive.Padding = new Padding(5, 5, 0, 0);
    }
    else
    {
        this.RibbonBar.RibbonBarElement.IconPrimitive.Padding = Padding.Empty;
    }
}