This question is locked. New answers and comments are not allowed.
How do I collapse a RadRibbonGallery? Before 2011 Q2 SP1 I was able to do it with the code below.
var ddb = ribbonGallery.ChildrenOfType<RadRibbonDropDownButton>().FirstOrDefault(); if( ddb != null ) ddb.IsOpen = false;
Thanks,
Italo
5 Answers, 1 is accepted
0
Hello Italo,
Can you please elaborate on your issue? I tested your code on our side using the latest official release of our controls - Q2 2011 SP1 (version 2011.2.0920). The RadRibbonDropDownButton is found and its IsOpen property is properly set.
Can you send us a sample application reproducing the issue? Also, if you can elaborate on your scenario, we will let you know if there are other approaches that you can use to implement it.
Best wishes,
Tina Stancheva
the Telerik team
Can you please elaborate on your issue? I tested your code on our side using the latest official release of our controls - Q2 2011 SP1 (version 2011.2.0920). The RadRibbonDropDownButton is found and its IsOpen property is properly set.
Can you send us a sample application reproducing the issue? Also, if you can elaborate on your scenario, we will let you know if there are other approaches that you can use to implement it.
Best wishes,
Tina Stancheva
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
Italo
Top achievements
Rank 1
answered on 10 Oct 2011, 01:50 PM
Yes, the element is found. However, IsOpen always returns false. What I’m trying to do is initiate a drag operation from an expanded RadRibbonGallery, after the drag is started, I close it by using the provided code. This used to work great before Q2 2011 SP1.
Thanks,
Italo
0
Hi Italo,
The RadDragAndDropManager was recently improved and new functionality was added to the control. This might be the root of the issue.
Can you set the following property:
and let me know if that fixes the issue. If it doesn't help, can you please send us a sample project or a code snippet illustrating how you implement the drag/drop logic and in which event you close the gallery popup?
Thank you in advance for your cooperation on the matter.
Kind regards,
Tina Stancheva
the Telerik team
The RadDragAndDropManager was recently improved and new functionality was added to the control. This might be the root of the issue.
Can you set the following property:
public
MainPage()
{
RadDragAndDropManager.ExecutionMode = DragExecutionMode.Legacy;
InitializeComponent();
}
Thank you in advance for your cooperation on the matter.
Kind regards,
Tina Stancheva
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
Christopher
Top achievements
Rank 1
answered on 20 Oct 2011, 06:00 PM
For anyone following up on this thread, I wanted to let you know that I had a similar problem, where the drop query handler was not being called if the ribbon gallery popup was open, and setting it to legacy mode fixed this for me. Thanks!
0
Peter
Top achievements
Rank 1
answered on 03 Feb 2012, 11:09 PM
I had the same problem and fix.