This is a migrated thread and some comments may be shown as answers.

RadSplitButton's elements get stuck

1 Answer 54 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
Attila Pados
Top achievements
Rank 1
Attila Pados asked on 26 Oct 2012, 08:15 AM

Dear Telerik!

I have a problem with RadSplitButton in RadControls for WinForms.

I have one or more RadRibbonBarGroup within some buttons and for this reason my form isn’t narrow enough, the RadSplitButton (which is in the RadRibbonBarGroup) has an error.

So when I open down the RadRibbonBarGroup than click on an item (the item open a new form) on RadSplitButton, the RadSplitButton remains open.

I attach some screenshot to show you my problem.

Is there any solution for this?

Thanks in advice!

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 31 Oct 2012, 06:41 AM
Hi Attila, 

Thank you for your reply.

The observed behavior is the expected one. For comparison you can check that the Microsoft drop-down popup behaves in the same way. These popups have the top most style which makes them appear on top of all normal application windows. As a consequence they appear over the RadForm1. We will consider adding an option that will disable this behavior in the popup window.

As a work around you can close the RadRibbonBarGroup 's Popup manually when user click the item in the split button to open the RadForm1.For example:

private void radMenuItem1_Click(object sender, EventArgs e)
{                this.radRibbonBarGroup1.DropDownElement.DropDownMenu.ClosePopup(Telerik.WinControls.UI.RadPopupCloseReason.CloseCalled);
RadForm1
//open the form1
}

I hope this helps. All the best,
Peter
the Telerik team
Q3’11 of RadControls for WinForms is available for download (see what's new). Get it today.
Tags
RibbonBar
Asked by
Attila Pados
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or