Click here to Skip to main content
15,903,854 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Am using ajaxtoolkit:modalpopupextender and it comes behind the flash object ..i want popup displays as first

the code is ..

ASP.NET
<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...
Posted

1 solution

You may need to change your object tag like below :


<object id="myFlash" width="1000" height="500" type="application/x-shockwave-flash" data="flash.swf" style="visibility: visible;">
<param name="play" value="true">
<param name="menu" value="false">
<param name="scale" value="showall">
<param name="wmode" value="transparent">
<param name="allowfullscreen" value="true">
<param name="allowscriptaccess" value="always">
<param name="allownetworking" value="all">
</object>
</param></param></param></param></param></param></param>



check
<param name="wmode" value="transparent"></param>
attribute of object tag.

Mark this as answer if it helps you!
 
Share this answer
 
Comments
maddyganesh 28-Feb-12 8:13am    
hi thanks for your reply ...
it's works for me..
abhijeetgupta1988 28-Feb-12 8:22am    
ok try this:

<param name="wmode" value="opaque" /> in <object />

let me know if it works.
maddyganesh 28-Feb-12 8:50am    
hi it's perfectly working in ie9 browser but not working in chrome even when am using this -> <param name="wmode" value="opaque" /> in <object />
maddyganesh 2-Mar-12 1:20am    
for working in chrome and firefox browser add
wmode="transparent" in embed tag..
this is perfectly working in chrome and firefox browsers

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