Dropdown list on parent page still showing after popup shows

Last post 09-10-2009 11:51 AM by NeCroFire. 4 replies.

Sort Posts:

  • Dropdown list on parent page still showing after popup shows

    09-09-2009, 10:17 AM
    • Member
      12 point Member
    • NeCroFire
    • Member since 07-02-2008, 4:13 PM
    • Posts 41

    Hi guys.


    When the modal popup shows up, the dropdown lists on the parent page are piercing through the popup. They are not being covered by the popup. This seems to only happen in IE6 and seems fine in IE7 and IE8 and firefox.


    Anyone know why this is happening and how I might fix it?


    Thanks

  • Re: Dropdown list on parent page still showing after popup shows

    09-09-2009, 10:59 AM
    Answer
    • Contributor
      6,700 point Contributor
    • pixelsyndicate
    • Member since 07-04-2003, 12:56 PM
    • W. MI transplant in N. TX
    • Posts 1,180

    This happens because in the earlier days of page design, dropdownlists were expected to be unaffected by layered DIV's (and modals?) because there was the chance that the values in the dropdownlist might be hidden and not be selectable.

    If you are forced to code for older browsers, you might consider (especially if using ASP.NET AJAX) setting the DDL's Visible property to "False" to hide it when invoking the modal popup, and when the modal is hidden, set the DDL's Visible property to "True".

    That's one example of an old-school workaround.

    Hope this helps!


    wil

    Please click 'Mark as Answer' if my reply has assisted you.

    "A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools." ~ Douglas Adams

    http://wildobson.com
  • Re: Dropdown list on parent page still showing after popup shows

    09-09-2009, 10:48 PM
    Chetan Sarode
    Software Engineer,
    Approva Systems Pvt Ltd,
    Pune, India.
  • Re: Dropdown list on parent page still showing after popup shows

    09-10-2009, 12:45 AM
    • Star
      8,587 point Star
    • Pawan_Mishra
    • Member since 03-13-2008, 7:37 AM
    • Bangalore
    • Posts 1,261

    Hi

    IE6 has this problem os not able to display modalpopups ( oe even div's) properly over dropdown controls . There are some workarounds available but they all are kind of patch work to avoid these UI related problem . I will advise you to migrate to newer version of Internet Explorer , as in those versions many of the existing problems in IE6 have been rectified . And yes dropdown control is rendered as "SELECT" element and its not possible to apply styles on select element , so even CSS wont be able to solve the problem you are facing.  

    Regards
    Pawan Mishra

    Too many eyes doesn't make a good code !!!

    .Net 360°
  • Re: Dropdown list on parent page still showing after popup shows

    09-10-2009, 11:51 AM
    • Member
      12 point Member
    • NeCroFire
    • Member since 07-02-2008, 4:13 PM
    • Posts 41

    Thanks. I'll play with the Visible property.

Page 1 of 1 (5 items)