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

Is there any way to insure that the expanded RadMenu is always on top?

3 Answers 103 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Boris
Top achievements
Rank 1
Boris asked on 18 May 2015, 06:49 PM

I have a RadMenu within a rather complex arrangement of RadPanes and RadSplitters.  

The problem is that sometimes the area which contains the RadMenu has an active horizontal scrollbar and when the RadMenu expands, the expansion is hidden.  This is an especially big problem in low-res screens.

I've found an assortment of references that refer to setting the z-index of the Radmenu in a variety of ways but these appear to be obsolete. (Such as switching style settings in and out using client side calls that no longer exist?)

Is there any way to insure the current RadMenu is always on top?

3 Answers, 1 is accepted

Sort by
0
Magdalena
Telerik team
answered on 21 May 2015, 08:59 AM
Hi Boris,

Thank you for contacting Telerik support.

You can set the z-index of the Radmenu by CSS to be always with a high value as the following:
html .RadMenu {
    z-index: 99999;
}

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


Regards,
Magdalena
Telerik
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 Feedback Portal and vote to affect the priority of the items
0
Boris
Top achievements
Rank 1
answered on 21 May 2015, 12:43 PM

Thanks but it doesn't work.  As I said the control is within a framework of RadPanes and RadSplitters and the z index apparently has no effect on them.  I'm attaching a screen shot.  As you can see the sub-menus are hidden.  (Granted, as the name implies, this is an extreme example.  My app is generally used in offices with large desktop monitors.)

In any case I solved my problem by rearranging the page and moving the RadMenu over to the left hand side.

0
Magdalena
Telerik team
answered on 22 May 2015, 07:43 AM
Hi Boris,

Thank you for the provided image as now we can better see the reason of the issue.

The main functionality of splitters is co cut all overflowing parts of its children. As the menu is a children of a splitter, all overflowing parts of the menu (in this case a popup) are cut. There is no workaround to fix the issue, as CSS do not provide solution to set which children will be cut and which not, as overflowing property can be set only to parents elements.

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

Regards,
Magdalena
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
Menu
Asked by
Boris
Top achievements
Rank 1
Answers by
Magdalena
Telerik team
Boris
Top achievements
Rank 1
Share this question
or