none
IE 11 ddl tooltip doesn't work propertly C# .Net RRS feed

  • Question

  • Hi, I'm having problem with my dropdown list tooltip after upgrade from ie9 to ie11.  I have the browser set to view webpage in compatibility mode and also <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> in the master page but the tooltip still not working correctly.  The tooltip text only show on the selected value and below it.  Ex.  if my ddl has 10 items and my selected value is 5, then 5, 6, 7, 8, 9, 10 have a text tooltip.  NO tooltip showing for 1, 2, 3, 4 when I hover over these values.  Here are the codes:

    foreach (ListItem _listItem in this.ddl.Items)
           
    {
               
                string textitem = _listItem.Text + _listItem.Value;

                _listItem.Attributes["title"] = textitem;

    }

    ddl.Attributes.Add("onmouseover", "this.title=this.options[this.selectedIndex].title");


    Thanks in advance!

    Monday, April 21, 2014 4:03 PM

Answers