Home » Asp.net

ASP.NET Drop Down Menu not working in IE8!!!



I just recently got complains from some of my customers, that their drop down menu does not work in IE...

The drop down menu is just a white frame, and when navigating down the menu disapperas.


I investigated the problem, and found that it works fine in IE6 and other browsers.


What is the problem?






1 Answer Found


Answer 1

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> Use this meta tag in Head of the page <Head> </Head>

There is problem with asp.net menu in IE8. For more reading go to



We have an issue with IE8 browser. We have developed an ASP.NET web application with asp.net UpdatePanel and Infragistics webgrid controls. The web page contains search functionality which is AJAX based. Also we have other AJAX functionalities such as update the data etc.

The web application is working fine in IE6.0 and IE 7.0 browsers. In IE8.0 browser when we are running in normal mode the AJAX functionality in the application is not working and its throwing javascript errors. But when we set the compatability mode in IE 8.0 the application is working fine. Could you please let us know what is the problem? Is there any problem in IE8.0 or do we need to set the anything in the code so that the application should run in IE8.0


Hai friends,

Here i am facing a new problem,i created a navigation page by using asp:menu control,and after when i viewed it in Internet explorer8, the SubMenu's are not displaying. But when i checked the Compatibility view button which is next ot Stop and Refresh Or in Tools->CompatabilityView. then it is displaying the submenus.

The same problem exists in Google Chrome but not in FireFox

Can any one tell me the solution how to view the submenus without changing the Compatability settings.





Menu control is not compatibile with IE8.  Is there a fix for this problem?  When you open the application in IE8 it only shows menus in two lines and you cannot click on it.  And then it displays a white screen.  I think that I implemented a meta tag at the time setting compatibility to IE7 but it does not seem to work.

CAn you help?  Thank you.





I am using asp.net menu control. In window application we assign shortcut key through '&' sign for accessing menu item but in asp.net this is not working and there is not any property for access key for menu items. please give me any suggestion.



Nitin Munjani

I am using asp.net menu control. In window application we assign shortcut key through '&' sign for accessing menu item but in asp.net this is not working and there is not any property for access key for menu items. please give me any suggestion.


I am using asp.net menu control. In window application we assign shortcut key through '&' sign for accessing menu item but in asp.net this is not working and there is not any property like access key for menu items. please give me any suggestion.



Nitin Munjani


Previously, the ASP.NET 3.5 Menu control displays an automatic scrolling function (e.g. down arrow or up arrow) on its submenus when there isn't enough room in the browser area to display all the submenus.

I have migrated the same intranet site to ASP.NET 4.0 and the automatic scrolling function of the sub menus is gone i.e. is no longer there.

All I get is is the vertical and horizontal scroll bars for the web browser (but theese are useless, because when you go to scroll the browser, the menu has lost focus), NOT the up/down for the actual menu itself.

I am using Internet Explorer 8 and have tried with and without Compatability View.

Any ideas? Thanks ...


I need your help to track down an issue i am having with my website.  i know this is a vb forum but the new items i have uploaded on my site are specifically to help all you vb developers here.  i have a large portion of it finished and have uploaded what i have so far to my web host.  after loading the site in internet explorer live on the web the menu items do not display.

so what i need you help with is to go to the site and see if the menu items at the top drow down and display the sub menu items.  without these working correctly noone will be able to access the developer sections. or really any section for that matter.

i have tested it and found the following:

OS                                   Internet Explorer                 works?
xp pro                                        IE6                            yes
xp home                                     IE6                            yes
xp pro                                        IE8                            yes
Vista Home premium                    IE7                           yes
windows 7                                   IE8                            no

the windows 7 with IE8 is my machine.  Renee Culver tested her machine with the Windows 7 and IE8 as well but it does work on her machine.

if you could please test it on your machine, expecially those using windows 7, i would appreciate it.  and please post back your OS and IE version along with the result.  i need to know if it is just on my machine or are there others that are having issues.

would help to know if you have updates from windows update or not as well.

Thanks for your help

FREE DEVELOPER TOOLS, CODE & PROJECTS at www.srsoft.us Database Code Generator and Tutorial

I wanted to know if AJAX 2.0 version is compatible with ASP.Net 2.0 ?

Thanks in Advance


Hello everybody, i've recently converted a project written with VS 2008 + asp.net 3.5. The problem is that on line on the production server (that's running asp.net 3.5) it can't render correctly on safari.

The project has a BrowserFile.browser that with past visual studio worked:

<browser refID="safari">


<adapter controlType="System.Web.UI.WebControls.Menu" adapterType="" />



The converted project works correctly in localhost.

Any ideas?

Thank you very much.


I have a weird problem. My application runs fine on a laptop. However when I am project this application on a projector, for wider audience, the drop down menu doesn't work. I have a top menu, I can select it and change it using arrow keys, but I can't see the menu. Similarly the Combo Boxes does drop. When I disconnect the projector, I have rebuild the application, and then everything is fine again.

And this doesn't happen with one projector, it happens with all the projectors.... (I have used 3 different makes and models)

My system configuration

Windows XP Professional SP2

Application information: Built on Visual Studio 2010, WPF

If you think you need any more information to comment of my problem please let me know. This problem is very irritating, any suggestion would be helpful.





A user created a work Item in a proposed state.  Any users even admins can not change the state in the Status area of the Team Web Acces.  If the same user opens the bug in Visaul Studio 2010 there is no issue.  The drop downs for Title and Area path work.  The only issue is the (Assigned to:, Severity:, Priority:, State:, & Reason:) drop downs won't work. Any Ideas what is happening?


I am trying to launch Designer via Site Actions > Site Settings > Master Pages Gallery > right click and select Edit In SharePoint Designer.  Instead of launching Designer it launchs Microsoft word.  I am the site collection administrator and I do have Designer on my computer.  Can anyone tell me why this short cut doesn't work? 


 I have a content page that has a form in it. The problem that I am having is that I get no response from the submit button for when clicking on it in IE 7 and 8. I have also siccessfully tested it in Firefox, Chrome and Safari.

This seems like a fairly common problem but I have yet to find a solution that works. I found some posts that suggested that there might be a problem with the aspnet_client folder so I ran aspnet_regiis -i and restarted IIS. I even when so far as to reinstall the asp.net framework and IIS. No love there.

I have verified that I have only one form tag in my master page also.

I also tried messing with the buttons UseSubmitBehavior, but that started up a whole mess of other problems like form field vaules not being posted.

Maybe there is something simple I've been missing becaue I've been looking at it too long ;) Fresh eyes would be appreciated.

Here is my master page:

<%@ Master Language="C#" %>
<script runat="server">

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
    <asp:ContentPlaceHolder id="head" runat="server">
<div id="wrapper">
    <form id="form1" runat="server">
        <div id="topBar">
        <div id="header">
        <div id="content">
            <asp:ContentPlaceHolder ID="MainContent" runat="server">

Here is the Conent page:

<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" CodeFile="treatmentLocator.aspx.cs" Inherits="treatmentLocator" %>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    <div class="Form">
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
            ErrorMessage="Zip code is required." Font-Bold="True" 
            ControlToValidate="txtZipCode" Display="Dynamic"></asp:RequiredFieldValidator>
        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
            ErrorMessage="Please enter a valid U.S. zip code." 
            ControlToValidate="txtZipCode" Display="Dynamic" Font-Bold="True" 
        <div class="formRow">
            <label>Please Enter Zip Code:</label><asp:textbox id="txtZipCode" 
                runat="server" Width="100px" MaxLength="5" Wrap="False" />
        <div class="formRow" dir="ltr">
            <label>Search Radius in Miles:</label><asp:dropdownlist id="ddlRadiusInMiles" runat="server" Width="55px"></asp:dropdownlist>
        <div class="formRow">
            <asp:Button id="btnSearch" runat="server" text="Search" 
                onclick="btnSearch_Click" UseSubmitBehavior="False" />
    <asp:GridView ID="GridView1" runat="server" Visible="False" CellPadding="4" 
                ForeColor="#333333" Width="850">
            <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                <asp:BoundField HeaderText="Facility Name" DataField="FacilityName" SortExpression="FacilityName" ItemStyle-Width="200"></asp:BoundField>
                <asp:TemplateField HeaderText="Address">
                        <%# Eval("Address")%><br />
                        <%# Eval("City") %>, <%# Eval("State") %> <%# Eval("Zip") %>
                <asp:BoundField HeaderText="Phone" DataField="Phone" SortExpression="Phone"></asp:BoundField>
                <asp:BoundField HeaderText="Fax" DataField="Fax" SortExpression="Fax"></asp:BoundField>
                <asp:BoundField HeaderText="Email" DataField="Email" SortExpression="Email"></asp:BoundField>                
                <asp:TemplateField HeaderText="Miles Distance" SortExpression="MilesDistance">
                        <%# Eval("MilesDistance","{0:f2}")%>
            <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
            <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
            <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" 
                HorizontalAlign="Left" VerticalAlign="Middle" Wrap="False" />
            <EditRowStyle BackColor="#999999" />
            <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
And finally the code behind for the content page:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Data.SqlClient;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class treatmentLocator : Spectrum.pageBase
    protected void Page_Load(object sender, EventArgs e)
        if (!Page.IsPostBack)

    private void MilesLoad()
        ddlRadiusInMiles.Items.Add(new ListItem("50", "50"));
        ddlRadiusInMiles.Items.Add(new ListItem("100", "100"));
        ddlRadiusInMiles.Items.Add(new ListItem("250", "250"));
        ddlRadiusInMiles.Items.Add(new ListItem("500", "500"));

    private void FacilitiesDisplay(string ZipCode, string RadiusInMiles)
        //gets the resuls an puts them into a gridView

    protected void btnSearch_Click(object sender, EventArgs e)
        //Never gets to here

        string zip = txtZipCode.Text;
        string radius = ddlRadiusInMiles.SelectedValue;

        FacilitiesDisplay(zip, radius);

//end class



Thanks in Advance!






I open a context menu by right clicking it.

It stays open when the cursor leaves it.

I click a main menu item.

The drop down opens at the top left of the screen.

Not under the main menu item I clicked.

I want to search the Internet but can't guess what key words to use.

Do you know anything about this behavior?










Hi all,

I am building a website with extensive usage of jQuery to interactive with server side code to achieve Ajax. I lauch my project from VS2008 SP1 in debug mode, and my web app is displayed in IE8. Inside IE8 I hit F12 to launch developer tool, in the developer tool I click on "Script" tab, but when I click "Star Debugging" button I get error message "Unable to attach to the process. Another debugger might be attached to the process."

I launch IE8 to load any other website, repeat the steps to enable JavaScript debug and it works for me. It seems that VS2008 holds the IE process.

In VS2008->Tools->Options->Debugging->Just-In-Time I clear the check box of Script, but I still have the same error when I try to start client debug.

Anybody has clue, how can I enable JavaScript debug from IE8 developer tool when I launch the website from VS2008 debug mode?



I am getting intermittent DNS Errors when trying to debug my ASP.NET application. Sometimes the website loads immediately but about half the time I get a DNS Error. About 30% of the time a Refresh will load the page - the rest of the time I have to close down the browser and try again. It is very frustrating.

Instead of being quite quick the application takes a long time to load. In the IE8 Status Bar there is a very quick reference to dnsError.htm then a Page cannot be displayed error message.

My environment is:
Windows 7 64bit
VS 2010 Professional Version 10.0.30319.1 RTMRel
.NET Framework Version 4.0.30319 RTMRel

I am using DevExpress Controls in the application.

Any help would be greatly appreciated!!

Thanks, thebigo
I have IE 8 installed on my Win 2008 R2 machine, and I am having difficulty viewing my web site which was created in ASP.NET 1.1. The TreeView menu does not go beyond the second nested node. If I click on the first node, it opens up, but the second node collapses the treeview completely. This is not supposed to happen. Please help?

In IE8 I have an issue, with membeship where if I type the url directly of the login page  http://blahwebsite.com/index.aspx  while logged in, the user will not be shown as logged in. However if I try to log in the credentials of another user, the logged in user creditentials will be used instead. Anyone got an answer for this? Works fine in Mozilla, and IE TEster( Except the IE8 version doesn't do have this issue as my IE8)

My company has an ASP.NET website that runs only in IE (no Firefox). There is an issue where in IE7 and lower it displays just fine. But, when using IE8, the index/login page is fine, then you log in, and the browser window shrinks to about a 1 inch banner size across the top of the screen. If you log in and quickly click to add a tab, it does not do this. Has anyone else run into this problem? I've been searching the web for a long time now and have not see anything on this yet. Any help or suggestions are most welcome.

<< Previous      Next >>

Microsoft   |   Windows   |   Visual Studio   |   Sharepoint   |   Azure