[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Why do my controls ignore the z-Index value ?

Posted on 2009-06-29
3
Medium Priority
?
291 Views
Last Modified: 2012-05-07
Hi;

I have a web page with a dropdown, panel control, and a details view control.

When I display my panel and the details view control  the dropdown is always on top of
the detailsview field.

I tried resetting thje z_index for both controls but that didn't work.

I am I overlooking something else ?

Thanks
=Dropdown control ====================================
   <asp:DropDownList ID="DropDownList9" runat="server" AppendDataBoundItems="True" AutoPostBack="True"
        DataSourceID="ObjectDataSource8" DataTextField="Lname" DataValueField="assignee_ID"
        Style="z-index: 102; left: 535px; position: absolute; top: 153px" Width="111px" EnableViewState="true">
        <asp:ListItem Selected="True" Text="Please make a Selection" Value="0"></asp:ListItem>
    </asp:DropDownList>
 
====== panel and detailsview controls ============
<asp:Panel ID="Panel1" runat="server" BackColor="Gainsboro"
        Height="535px" Style="z-index: 104; left: 373px; position: absolute; top: 196px;
        bottom: auto ; background-color:LightGrey" Visible="False" Width="736px" BorderColor="Gray" BorderStyle="Groove" ForeColor="Black">
          &nbsp;   
        <asp:DetailsView ID="DetailsView1" runat="server" AutoGenerateRows="False" DataKeyNames="ID"
            DataSourceID="ObjectDataSource4" DefaultMode="Insert" FieldHeaderStyle-BackColor="#F0F0F0"
            FieldHeaderStyle-Font-Bold="true" Height="36px" Width="692px" EnableModelValidation="True" style="z-index: 101; left: 5px; position: absolute; top: 23px" GridLines="Horizontal" BackColor="gainsboro" >

Open in new window

0
Comment
Question by:gggoddard
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 29

Expert Comment

by:rdivilbiss
ID: 24739873
Drop down lists have never obeyed z-index values, sorry.
0
 

Author Comment

by:gggoddard
ID: 24739913
Thanks rdivilbiss
So what's the problem with drop dwon lists and z-index values ?
 
0
 

Accepted Solution

by:
gggoddard earned 0 total points
ID: 24740713
Hi;
I finally solved my problem.
I was using an Ajax Calendar extender control which extended beyond to a dropdown control located just beneath it.
I simply moved the calendar control to the right of my calendar textbox.
This works great.
Thanks
 
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question