Start Menu Right Column

9 posts, 0 answers
  1. UIdev
    UIdev avatar
    74 posts
    Member since:
    Mar 2007

    Posted 13 Jan 2008 Link to this post

    Hi,

    Is there any way for the items in the start menu's right column to be updated/changed upon focus of a RadItem in the left column?  I'm trying to acheive the same effect as in Office, but I'm not sure if this is possible/how to do it.

    Thanks very much,

    UIdev
  2. Jack
    Admin
    Jack avatar
    2335 posts

    Posted 14 Jan 2008 Link to this post

    Hi UIdev,

    Thank you for this question.

    Yes, it is possible to change or update the items on the right side of the RadRibbonBar's start menu through code. You must add your menu items dynamically to the StartMenuRightColumnItems collection of the RadRibbonBar. I have attached a sample application demonstrating this behavior.

    In case you have other questions, feel free to write us again.

    Greetings,
    Jack
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for WinForms is Visual Studio 2017 Ready
  4. UIdev
    UIdev avatar
    74 posts
    Member since:
    Mar 2007

    Posted 14 Jan 2008 Link to this post

    Jack,

    Thanks for the solution!  It's exactly what I was looking for.  As a quick follow-up, how would you do this in VB.NET?  I tried converting the C# code, but it would not stop giving me trouble.

    Thanks,

    UIdev
  5. Jack
    Admin
    Jack avatar
    2335 posts

    Posted 15 Jan 2008 Link to this post

    Hello UIdev,

    I am sending you the same solution in VB.

    Kind regards,
    Jack
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  6. UIdev
    UIdev avatar
    74 posts
    Member since:
    Mar 2007

    Posted 15 Jan 2008 Link to this post

    Thanks Jack for your great help - Telerik support is wonderful as always!  The VB solution worked perfectly - thanks!

    -UIdev
  7. Pierre
    Pierre avatar
    212 posts
    Member since:
    Apr 2007

    Posted 18 Jan 2008 Link to this post

    Hi, thanks for thsi solution. Very userfull!

    Question: How can I tell the menu to Auto-Resize itself in function of the menu name or description added dynamically ? The right part of the menu are not reeizing after i add a long menu description dynamically.

    Question2: How I can handle the Option Button click in the main menu.

    thanks
  8. Angel
    Admin
    Angel avatar
    121 posts

    Posted 21 Jan 2008 Link to this post

    Hi Pierre,

    Thank you for writing.

    To answer your questions:

    1. Select the RadRibbonBar in design-time and set its StartMenuWidth property to 0. This way the width of the start menu will be calculated automatically.
    2. Select the RadRibbonBar in design-time and choose events in the property gird. Expand OptionsButton field and double click in the value of its Click event to automatically generate event handler.

    If you have further questions don't hesitate to write us again.

    Sincerely yours,
    Angel
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  9. Pierre
    Pierre avatar
    212 posts
    Member since:
    Apr 2007

    Posted 21 Jan 2008 Link to this post

    Thanks for your help.

    I try to set the StartMenuWidth to 0. That work but when I hoover the menu content, the menu change every time the mouse change of location. The menu start flikering when th e mouve hoover the selection choice. Any idea to stop this behavior?
  10. Angel
    Admin
    Angel avatar
    121 posts

    Posted 22 Jan 2008 Link to this post

    Hi Pierre,

    Thanks for getting back to us.

    I cannot reproduce this behavior. Could you please send me a demo project that reproduces the flickering behavior you're describing. It will help us address any potential issue faster.

    Kind regards,
    Angel
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top
UI for WinForms is Visual Studio 2017 Ready