radRibbonBar & radApplicationMenu, Cuts Floating Menu

4 posts, 0 answers
  1. Aldemar
    Aldemar avatar
    41 posts
    Member since:
    Jan 2008

    Posted 30 Jan 2009 Link to this post

    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
  2. Jack
    Admin
    Jack avatar
    2335 posts

    Posted 02 Feb 2009 Link to this post

    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.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Marcel Rossi
    Marcel Rossi avatar
    9 posts
    Member since:
    Jul 2007

    Posted 12 Apr 2009 Link to this post

    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
  5. Marcel Rossi
    Marcel Rossi avatar
    9 posts
    Member since:
    Jul 2007

    Posted 12 Apr 2009 Link to this post

    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.

     

    1         Dim c As Integer = 0  
    2         Dim myConfigs() As String = Me.getMyConfigsAsArray()  
    3  
    4         For c = 0 To myConfigs.Length - 1 Step 1  
    5  
    6  
    7             'adding a SubItem to rbbMain_START_Konfigurationen.DropDown  
    8  
    9             mySubItem = New RadMenuItem(myConfigs(c))  
    10  
    11             Me.rbbMain_START_Konfigurationen.DropDown.Items.Add(mySubItem)  
    12  
    13             AddHandler mySubItem.Click, AddressOf rbbMain_START_Konfigurationen_Click 'add the Handler for clicking the SubItem  
    14  
    15  
    16 Workaround_for_Telerik_RibbonMenues:  
    17  
    18             myMenuButton = New RadButtonElement  
    19  
    20             With myMenuButton  
    21  
    22                 .Size = mySubItem.Size 'set the Size of the Fake-Item to same as the SubItem at the right side  
    23  
    24                 .Opacity = 0 'set the Fake-Item transparent  
    25  
    26             End With 
    27  
    28             Call Me.rbbMain.StartMenuItems.Add(myMenuButton) 'add the Fake-Item to the left side  
    29  
    30         Next 'c 

    Regards
    Marcel

     

Back to Top