ModalPopup with Relative DIVs and Z-Index

Last post 09-04-2008 5:14 AM by Zhi-Qiang Ni - MSFT. 1 replies.

Sort Posts:

  • ModalPopup with Relative DIVs and Z-Index

    08-30-2008, 8:31 PM
    • Member
      2 point Member
    • airic82
    • Member since 07-07-2008, 2:27 AM
    • Posts 59

    So I've searched the forum for info on how to get ModalPopups to consistantly Pop-Up on top of all other page elements when using relative positioning and z-indices.  I've seen multiple answers, and the one that seems to work best is to modify the JavaScript file as mentioned here: http://forums.asp.net/p/1070117/1558880.aspx#1558880

    Is this really the "best" method?  The option of moving the ModalPopup is out because it's in a ContentPlaceHolder and the LinkButton to fire it is also in there, so to move it to the main content, causes and error because the firing element isn't created until the end.

    I'd like anyone's opinion on this.

    Thanks,
    Eric

  • Re: ModalPopup with Relative DIVs and Z-Index

    09-04-2008, 5:14 AM

    Hi,

    Because I can’t model your situation easily and correctly, would you please post your sample code here(just a simple one, not all of the applications)?

    Best regards,

    Zhi-Qiang Ni

    Microsoft Online Community Support

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as
    Answer” if a marked post does not actually answer your question.
Page 1 of 1 (2 items)