DropDownList Close
I have an application that uses cascading dropdown lists for an easy 90% of the fields. For some reason, a开发者_如何学JAVAnd randomly, they'll close before the user can select an item. This has been very frustrating, as you can imagine. I use Windows 7 with Internet Explorer 9 to test changes once I've completed them and this never happens to me. I can use the production environment without a problem. However, once I launch XP IE8, the problem starts happening. My question is, what can cause this?
I'm using Visual Studio 2008, C#.
Thanks.
It could possibly be that your browser is displaying the webpage in compatibility view. To disable compatibility view go to tools->compatibility view make sure compatibility view is unchecked.
You can also disable it in your code by placing the following code in your head tag:
<meta http-equiv="X-UA-Compatible" content="IE=8" />
You can read about compatibility mode at http://windows.microsoft.com/en-US/windows-vista/Make-older-programs-run-in-this-version-of-Windows
However, this is a random guess at what could be wrong. Without the code we can't be exactly sure.
Without any code we cannot help you. Could it be that the screen needs to be refreshed or repainted upon SelectedIndexChanged for the combo box ?
精彩评论