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

radRibbonBar & radApplicationMenu, Cuts Floating Menu

3 Answers 130 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
Aldemar
Top achievements
Rank 1
Aldemar asked on 30 Jan 2009, 11:29 PM
Hi!

I like RibbonBar & radApplicationMenu, Excellent Components, but I have a problem. Under Start main Button there are main Items and RightColumnItems, so my interest is on main Items. I have 3 main items, every one displays popup submenus on right side (when mouse pointer is hover), my problem is because 1st item displays about 20 items on popup submenu but only 3 items is displayed due to (I guess) main container size where start menu is on, I need to show all popup items, how can I do?

Thanks for your help

3 Answers, 1 is accepted

Sort by
0
Jack
Telerik team
answered on 02 Feb 2009, 05:44 PM
Hi Aldemar,

Thank you for contacting us.

Currently RadApplicationMenu doesn't support scrolling. We plan to implement this feature in one of our upcoming releases and we will write back once we have a working solution.

Do not hesitate to contact us if you have any other questions.

Sincerely yours,
Jack
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Marcel Rossi
Top achievements
Rank 2
answered on 12 Apr 2009, 04:58 PM
Hi

Do you have more informations about that?

Because I have the same problem. I have only 2 Items at the left side and n dynamicaly added Items at the right side.
After opening the Start-Button and selecting the first Item, with the n Subitems at the right side, I can only see the first 2 Items (at the right side).

Thanks for you Help!
Marcel
0
Marcel Rossi
Top achievements
Rank 2
answered on 12 Apr 2009, 06:28 PM
Hi

I've played a bit with the Ribbonbar-Start-Menu and I found a Workaround for my Problem.
Maybe this will help someone other too...

The SubItems on the right side will not be shown, because the Height of the Start-Menu is to less.
To raise the height of the Start-Menu, I found only the way to add unused Menu-Items to it (left side).

 

me.rbbMain.StartMenuItems.Add(myMenuButton) 

Of curse, you don't want to show some fake Menu-Items there.
I made them invisible without freeing the space (height) they use.

myMenuButton.Opacity = 0 

So in my case I added a Fake-Menu-Item to the left side for each Menu-Item I've added to the right side (dynamically).
As result, I can see all the Sub-Items at the right side, when I open the Parent-Item.

 

        Dim c As Integer = 0  
        Dim myConfigs() As String = Me.getMyConfigsAsArray()  
 
        For c = 0 To myConfigs.Length - 1 Step 1  
 
 
            'adding a SubItem to rbbMain_START_Konfigurationen.DropDown  
 
            mySubItem = New RadMenuItem(myConfigs(c))  
 
            Me.rbbMain_START_Konfigurationen.DropDown.Items.Add(mySubItem)  
 
            AddHandler mySubItem.Click, AddressOf rbbMain_START_Konfigurationen_Click 'add the Handler for clicking the SubItem  
 
 
Workaround_for_Telerik_RibbonMenues:  
 
            myMenuButton = New RadButtonElement  
 
            With myMenuButton  
 
                .Size = mySubItem.Size 'set the Size of the Fake-Item to same as the SubItem at the right side  
 
                .Opacity = 0 'set the Fake-Item transparent  
 
            End With 
 
            Call Me.rbbMain.StartMenuItems.Add(myMenuButton) 'add the Fake-Item to the left side  
 
        Next 'c 

Regards
Marcel

 

Tags
RibbonBar
Asked by
Aldemar
Top achievements
Rank 1
Answers by
Jack
Telerik team
Marcel Rossi
Top achievements
Rank 2
Share this question
or