?
Solved

Why do my controls ignore the z-Index value ?

Posted on 2009-06-29
3
Medium Priority
?
289 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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

770 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