Click here to Skip to main content
15,889,027 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Dear Friends,

I have a website in ASP.Net3.5 which i have migrated to ASP.Net4.0. In my website if i open a form having a combo box and when i open the combo box and at the same time select the top menu also then I am not able to see the top menu; menu items due to the opened combo box on the form.

Some one suggested me that i should set the z-index of the combo box then it will not occur but i am not able to do the same.

Please anyone out there knows why this problem is occurring then kindly help me out.

Thanks

Varun Sareen
Posted
Comments
Sunasara Imdadhusen 11-Feb-11 1:33am    
You need to set Menu always on Top?
Varun Sareen 11-Feb-11 1:40am    
yes dear my top menu shows the menu items for navigating into the website.
Sandeep Mewara 11-Feb-11 1:46am    
Tried putting a high Z-Index for menu ?
Varun Sareen 11-Feb-11 1:41am    
yea that's kinda master page format. :)
Varun Sareen 11-Feb-11 1:52am    
how much of z-index for menu...??

1 solution

Just add following class to the your Menu
XML
 <style type="text/css">
       .AlwaysTopMenu
        {
            z-index: 10000;
            position: absolute;
        }
    </style>
<body>
<div id="dvMenu" class="AlwaysTopMenu">
</div>
</body>


Thanks,
Imdadhusen
 
Share this answer
 
Comments
Varun Sareen 11-Feb-11 8:01am    
not happening dear :(.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900