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

ContextMenus z-index

2 Answers 106 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Keith
Top achievements
Rank 1
Keith asked on 19 Aug 2010, 09:59 PM
It appears the default z-index for the TreeView ContextMenus is 7000 and written by the control in-line. I need to change this value so that the ContextMenus appears above some other elements on the page.

How do I do this?

Thanks in advance,

Keith E.

2 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 20 Aug 2010, 08:00 AM
Hello,

Have you tried inline style setting for contextmenu as described in KB Article?

mark-up:
      <telerik:RadContextMenu style="z-index:9000" . .


-Shinu.
0
Keith
Top achievements
Rank 1
answered on 20 Aug 2010, 03:57 PM

Nope! That didn't work. However, I got there using a little jQuery

 

$(

"#ctl00_ctl00_cphContent3_ftDMSTree_rtvFolderTree_rtvcmFolder_detached").css('z-index', '70000');
in the

 

OnClientContextMenuShowing function

Keith E.

Tags
TreeView
Asked by
Keith
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Keith
Top achievements
Rank 1
Share this question
or