Internet Explorer 10 fails to postback asp command unless it's in compatibility mode

I have a very simple program consisting of three aspx files that receive a login id from another web site and looks up all the accounts in the first drop down using ASP CLASSIC. It fills the first drop down list on the web page just fine. I then click the down arrow on the second dropdown after selecting one of the accounts in the first dropdown and it is supposed to fill the second drop down with all the assests related to the first accountholder. The code works fine in EVERY browser including IE 10 compatibility mode BUT  does not work in IE 10 with compatibility mode turned off. I've read that IE 10 fails to recognize pages properly and JavaScript and ASP no longer work. I've also heard that this failure of IE 10 disables the action of doPostBack. I've tried differently suggested meta-tags from Microsoft web sites to no avail. What are my options?

Since it's only 3 web pages, I'm thinking of just rewriting the darn thing. If so, What language will work will overcome this error. From forum posts, it's been going on for nearly a year and my IE 10 has been faithfully automatically updated.



Bob
LVL 1
bob_mechlerProgrammerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Rainer JeschorCommented:
Hi,
could you please share the server side code and the resulting HTML/Javascript OR provide a link where we can see the ouput.
The issue could only be on the client side and not on the server.
Thanks.
Rainer
0
bob_mechlerProgrammerAuthor Commented:
I can re-create the issue. Can't provide the original due to customer specific wording.

Bob
0
bob_mechlerProgrammerAuthor Commented:
The first attachment IE10.TXT I've masked any client information. It is the result of IE10 with compatibility OFF.

The second attachment  IE10Compatible.txt works and has IE10 Compatible view turned on. The files are quite different. One that works has JavaScript code and the other does not.

Thanks for taking a look at it.

I've removed any private identifying data but thought the best example would come from a real world issue.
IE10.txt
IE10Compatible.txt
0
Fundamentals of JavaScript

Learn the fundamentals of the popular programming language JavaScript so that you can explore the realm of web development.

Rainer JeschorCommented:
Hi Bob,
thanks, that is really interesting.

Can you please verify / confirm, that you have removed part of the HTML head?
In both files, there is no opening head tag nor the opening title tag. If this is due to your cleanup then fine - if not then it would be a good place to start. I am not sure how IE10 without compatibility reacts especially with this doctype.

Thanks.
Rainer
0
bob_mechlerProgrammerAuthor Commented:
I removed a Microsoft suggested meta tag. Possibly took out too little or too much. Here is the only meta-tag I removed that was an attempt to make the browser think it was IE9

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE9">

Bob
0
bob_mechlerProgrammerAuthor Commented:
What doctype would I use or how can I create a page with an acceptable doctype. I have Visual Studio 2010.

I am not a web programmer but with 30 years experience with desktop apps I thought this simple job would be easy using just asp code in notepad. It's been working fine with no errors on every other browsers for months now.

Most likely I'll need to rework in Visual Studio 2010 as asp.net instead of ASP.


Bob
0
bob_mechlerProgrammerAuthor Commented:
I arrived at the two attached documents by using the same program and getting to same place and then choosing View Source from the right click using the same computer. The only difference was that in one instance it worked because in compatibility mode it recognized the page and without compatibility mode it did not. Therefore when compatibility mode was not on, it did not have access to JavaScript. There was not change in settings or the availability of JavaScript on the client side.

Reviewing internet postings over the last 6 months reveals nothing except vague reference to kb's that are different for the computer being used as a client.

My computer is Windows 7 64 bit with 8 gig of RAM using Microsoft Security Essentials.

Hope someone can find an answer to this increasingly common malady.

Bob
0
bob_mechlerProgrammerAuthor Commented:
I'd read somewhere that there were problems with the local instance of either .net 2.0 and/or .net 4.0. The application is a .net 2.0 application.

Bob
0
bob_mechlerProgrammerAuthor Commented:
By just putting in Internet Explorer 10 in Search, many of the posts had to do with IE 10 suddenly not working. Some suggested meta - tag solutions but most said to use F12 Developer tools under Browser mode use an earlier version or compatibility mode.

One person that put IE 10 in compatibility mode said they fixed the problem.

I don't think so. When the customer using the web site doesn't have that option or could never be taught to use that feature what you have is a complaint that the software is not up to date. Okay then, what options are there to debug and change the code? As many questions about this that have come up and no one actually does more than refer to a few hyperlinks that don't relate or expect people to openly advertise that their web site isn't modern. The public never blames Microsoft for vague issues like this.

I'd like to only write code that works on any browser a user might have. How should it be written?  

Bob
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
bob_mechlerProgrammerAuthor Commented:
IE 10 compatibility mode fixed the issue
0
bob_mechlerProgrammerAuthor Commented:
IE 10 Compatibility fixed the immediate issue
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Development

From novice to tech pro — start learning today.