ganesh88maddy

Asp Panel Comes Behind Swf (Flash) Object

Recommended Posts

Am using ajaxtoolkit:modalpopupextender and it comes behind the flash object ..i want popup displays as first ..the code is ..

 

<asp:UpdatePanel ID="t1" runat="server">

<ContentTemplate>

 

<ajaxToolkit:ModalPopupExtender ID="mpePnlPopUp" runat="server" CancelControlID="img_Popup_Close_Daysettings"

BehaviorID="mpePop" PopupControlID="pnl_Popup" BackgroundCssClass="modalBackground"

PopupDragHandleControlID="pnl_Popup" TargetControlID="imgPrintReport">

</ajaxToolkit:ModalPopupExtender>

 

<asp:Panel ID="pnl_Popup" runat="server">

 

<panel style goes here....>

 

</asp:Panel>

 

</ContentTemplate>

</asp:UpdatePanel>

i put z-index for flash object as -1 and put popup as 1000000

 

 

 

there is no change

Edited by ganesh88maddy

Share this post


Link to post
Share on other sites

Hi,

 

i follow the link that you gave in last post ..

i did the instructions in that post to my work but i doesn't solve my issue ..

 

i attached one sample screen shot for my problem kindly have a review with that and reply me ASAP..

 

thanks in advance...

post-27583-0-08649300-1330429664_thumb.jpg

Share this post


Link to post
Share on other sites
Guest Sumedh

Hi,

 

Can you try following code for your requirement?

 

Create two div's, place chart in the one div and your modalpopupextender in another div.

 

Use z-index property of CSS, as mentioned below:

 

<style>

#modalpopupextender

{

width: 600px;

z-index: 1000; ----------------------------> (setting positive z-index)

}

 

#chartContainerUnder

{

top: 5px;

width: 420px;

left: 20px;

border: 0px;

height: 10%;

background: #FFFFFF;

z-index: -1; ----------------------> (setting negative z-index ).

}

</style>

<body>

 

<div id= "modalpopupextender" > modalpopupextender will load here.</div>

<div id="chartContainerUnder "> chart will load here</div>

</body>

 

Hope this helps.smile.gif

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now