Docking RadMenu

4 posts, 0 answers
  1. Taylor
    Taylor avatar
    17 posts
    Member since:
    Mar 2011

    Posted 09 Apr 2011 Link to this post

    I have performed the following steps in trying to dock a radmenu.

    1. Dock it to the top of a new RadForm with AutoSize set to true
    2. Fill/dock another control (PageView, for example) on the form

    There seems to be overlap that occurs between the controls, one of the controls will always hide (at least part of) the other.If I put a Windows menustrip in the same place, it behaves as expected and both controls coexist.  The radmenu looks like it is doing what is expected in design mode, but is completely covered/hidden at runtime. Putting the radmenu on a radpanel (that is set up to autosize/grow/shrink to its content) results in the panel shrinking down to zero 0 size (in the designer).  Is there a specific way to dock the menu with AutoSize enabled so the menu doesn't get overpowered by another docking control? 
  2. Ivan Todorov
    Admin
    Ivan Todorov avatar
    688 posts

    Posted 13 Apr 2011 Link to this post

    Hello Taylor,

    I was unable to reproduce your scenario. You can try right clicking on RadMenu in the designer and selecting the "Send to Back" or "Bring to Front" actions. If this doesn't help, please post your code here using the Format Code Block or open a new support ticket and attach your project to it.

    Hope this helps. If you have any additional questions, feel free to ask.

    Best wishes,
    Ivan Todorov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Taylor
    Taylor avatar
    17 posts
    Member since:
    Mar 2011

    Posted 13 Apr 2011 Link to this post

    Hello Ivan,

    Let me clarify in case you are not able to reproduce because the problem is not clear.  The issue I am encountering is a run-time issue where the layout differs from the design layout.  Essentially, the radmenu disappears.  The following steps walk you through recreating the issue as there is no major project setup required.

    1. Create a new RadControls form application project.
    2. Drag a RadMenu from the Toolbox onto Form1.  The menu defaults to Dock:Top.
    3. Add a menu item to the menu so the menu has text on it and is more readily visible.
    4. Drag a RadPageView from the Toolbar onto Form1. 
    5, Set the PageView to Dock:Fill. 
    6.  Add a Page so you can see a tab.

    Attached are images so you can see the difference between the Design and Runtime.  It looks like it is an issue related to Docking and/or AutoSizing for the RadMenu.  Replacing the same menu with a windows forms menustrip with no change to properties results in the expected behavior as well.
  5. Ivan Todorov
    Admin
    Ivan Todorov avatar
    688 posts

    Posted 18 Apr 2011 Link to this post

    Hello Taylor,

    Thank you for providing me with the exact steps of reproducing the issue.

    However, although I have followed them carefully, I am still unable to reproduce the behavior. There might be something specific in your project that I am missing, so I would kindly ask you to open a new support ticket and attach your project to it. This will let me investigate this case in detail and provide you with an appropriate answer.

    I am looking forward to hearing from you.

    Greetings,
    Ivan Todorov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top