Click here to Skip to main content
15,878,814 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello all,

I have an asp.net menu control in the master page. In the content pages without any crystal reports, they work fine. In pages with crystal reports, the menu items appears to be under the Crystal report and I can not access any menu items if it goes below the Crystal report tool bar.

Can anyone throw some help please?

Thanks in advance,

GeoNav
Posted
Comments
thatraja 14-May-11 20:47pm    
Include your code in question.

Please Send me your code, let me try.
 
Share this answer
 
For the crystal report viewer, set this property.
style="position:relative;z-index:0;"
(z-index value zero)

And for Menu control:
style="z-index:1;"


Manoj Nellikkattiri
 
Share this answer
 
v9
Comments
Abu Noumaan 21-May-12 2:26am    
Nice! It has worked! Thank You.
still got this error...
i've already set the z-index of menu to 1000
and the z-index of the crystal report viewer to 0
and still the menu of the site master is still under the main content.

any help?
 
Share this answer
 
I have the same issue and here is What I did and it works great for me.
Include the Crystal Reports Viewer in the DIV tag as follows.
There is a problem with the style of Crystal Reports Viewer control and here is a simple way to fix it instead of applying the style on the control itself which doesn't work anyway. Simply enclose it with
tag which acutally works.

HTML
<div style="position:relative; z-index:-1">
    <cr:crystalreportviewer id="crv3GTTools" runat="server" autodatabind="true" displaygrouptree="False" toolbarstyle-width="1024px" xmlns:cr="#unknown" />
</div>


Srinivas Yarragunta
 
Share this answer
 
v4

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