Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Frustrating z-index issues

Frustrating z-index issues

Scheduled Pinned Locked Moved ASP.NET
databasevisual-studiocomtutorial
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    khastings7
    wrote on last edited by
    #1

    I have a web user control that is used as a date picker. It puts a calendar, month and year dropdowns together for users to pick dates on a website. I have used the iframe under the div method to make it stay on top of dropdowns and other controls (utilizing size and z-index) But when I have any actual Custom Control under it... it only stays hidden untill I choose to change data and it posts back. Now for the weird part. If you choose certain years... 2003 or 4 for example.... IT WORKS.... Anyway here is the code for the ascx <%@ Control Language="vb" AutoEventWireup="false" Codebehind="DatePicker.ascx.vb" Inherits="HSI.Engine.DatePicker" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %> var <%=m_ID%>dp = new DatePicker('<%=m_ID%>', 1);

    ![](<%=m_Path%>/img/icon_cal.gif)

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups