Solved

Why do my controls ignore the z-Index value ?

Posted on 2009-06-29
3
282 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
  • 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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Azure Web App - See files 3 21
Select2 jquery help 9 45
How can I use this extension method? 8 36
getting id from database 5 24
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
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…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

705 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now