dopostback not defined when using ie11 - asp.net

Today I have upgraded my browser to IE11.
The problem is that I have a ASP.NET site, that fails with dopostback not defined when clicking a linkbutton from the production site.
When debugging in VS2012 I get "this page can not be shown".
Do I really need to downgrade to ie10, to debug in ie again ?
I'm using Win7 on my local PC

See here for fixes:
http://www.hanselman.com/blog/IE10AndIE11AndWindows81AndDoPostBack.aspx
Basically this is fixed in ASP.NET 4.5 but there is also an older patch for all versions of the .NET framework.

Problem occurred cause of: There is a bug in the browser definition files that shipped with .NET 2.0 and .NET 4, namely that they contain definitions for a certain range of browser versions. But the versions for some browsers (like IE 10) aren't within those ranges any more. Therefore, ASP.NET sees them as unknown browsers and defaults to a down-level definition, which has certain inconveniences, like that it does not support features like JavaScript.
I also had same problem,I followed this article, and I'm sorted. Go through below link, It would help for sure.
fix

Related

Internet Explorer 10 FCKEditor problems

Hello Stackoverflow community.
Since the release of Windows 8 and thus, Internet Explorer 10, FCKEditor refuses to function with IE10. With the latest patches, Firefox 17 and Chrome work just fine with it.
I know FCKEditor is old, so I was thinking of moving to CKeditor but it seems, its implementation for classic asp webpages doesnt work with IE10 as well.
Any suggestions, on how to fix the problem, or any other editors (with the functionality of the above two editors) would be appreciated(classic asp only).
CKEditor should work with IE10.
Maybe there are some problems with it at the moment (I tested it briefly some time ago), but given that it's a supported version (opposed to the status of FCKeditor), if you file bugs reporting the problems they should be fixed eventually.

How important is trying to keep IE8 compatibility in 2012?

So recently Microsoft threw the joke that was IE6 into the recycling bin, and said that users should automatically be upgraded to the latest version of IE, if they hadn't already. Unfortunately for web designers, this means that some people (running XP) will be stuck with IE8.
I recently started redesigning a clients website to bring it up to date, and in order to make loading times quicker, save on disk usage, and on bandwidth, I have implemented the use of CSS3 code and then a big but... IE8 Doesn't support CSS3... :(
Is there a significant amount of users on XP / Vista / 7 who still use IE8, or have they moved to alternative, more up to date browsers such as Chrome, Firefox, Safari etc?
Should I worry about trying to find a way to keep the website looking correct in all browsers? or is there a way for me to encourage visitors using IE8, to swap it for another browser?
I imagine this depends on how the website is used. Is it an intranet website, a public website, or an web application that the owner dictates the version. IMO the best way to figure this out is to have Google Analytics plugged into the web app.
I can tell you that the project I am currently on doesnt have the luxuary to rule out IE8. 70% of our users that use the web app I work on use IE8. It seems to still be the most used browser in the business world. (at least from my experience) Heck we still need to support IE7.
However if you can guarantee the web users are using an up to date browser, then thats a different story. Or of course you can say, this app doesnt support IE 8 or lower.
Thats my 2 cents.
IE8 is the default browser in Windows 7, so expect it to hang around forever, just as IE6 has because it was the default in Windows XP.
Use http://code.google.com/p/html5shiv/ or http://code.google.com/p/ie7-js/ to ease the pain.
Yes, but according to WC3 the percentage of usage is now only ~8% for IE8.
Thats still a pretty big number to turn your back on however.

Notification to the end users about a newer version

I am having an application that will be installed on various machines. Now if i have a newer version than the installed one, i need to inform the users that an update is available. An update that shows up in Mozilla Firefox about a newer version,similar to that. Is this possible to implement?? Or how those Firefox guys implementing that feature? My application has been implemented using Qt 4.4. But i guess this doesn't conform to a specific programming language. I have virtually no idea about implementing this so any ideas regarding this are welcome.
you need a web site page, like http://yourapp.com/version
and place version number in this page.
each time your app runs, check this page(quietly),
if found version > current version, then open a confirm window.

How to emulate IE7 and FF2?

I build a webpage and in IE8 + FF3 it goes well, but a friend opens it in ie7 and it's terrible.
How can I emulate IE7 / other things / FF2 in my Windows 7 envoirement?
You need to run in in a virtual machine as you can't have multiple versions of IE installed on the same machine the same time.
Downlaod Virtual PC 2007
Download the IE7 Virtual PC image from Microsoft. There's also an IE6 image there.
You can also install FF2 on the virtual machines safely.
IE8 has a Developer Tools utility under Toos->Developer Tools. You can change Compatibility Mode to view how the page would look in IE7. As for FF2, the only way I know of is to actually have FF2 installed. Maybe you can find an older download package?
Once the utility opens there is a Browser Mode: box on the top menu. Change that to IE7, and it will render the page as IE7 would.
I've used the 'Superpreview' feature that comes with Expression Web 3, it has help me to get a page working with IE8,7 and even 6, along with FireFox. You can get a free trail if you can't get the full version.
You can use IETester for IE 5.5 to 8 for emulation. You can add on DebugBar (by the same developer) into IETester for Firebug-like debugging.
However Firefox I'm not sure. The only thing I can think of is to download a clean FF 2 and install it on another computer.
As for Firefox, you can use a portable version.
Various options locally:
Run multiple virtual machines hosting different browsers (or combinations of browsers)
The latest version of expression has a fairly comprehensive browser comparison tool
There are some clever IE hacks out there too.
Also online
Browsercam (and similar sites)
Adobe Browserlab possibly - not sure how "live" it is yet.
There are a number of simulators, one at least from MS to let you view in different IE browser versions. However they are simulators so may not accurately reflect the actual browser. Another way, but it might be over the top for your purposes is to install VM's and put the real browser in each VM to do the testing.
I'm currently using Internet Explorer Collection which gives me over a dozen versions of IE, not that I test that many but it's interesting to look back at occasionally.

asp.net and ie8 - impact analysis

we are going to install IE8 in the company. We have many web based ASP.net applications.
I would like to evaluate the impact of installing IE8 on our asp.net applications. the applications are using .net 2.5 and 3.5. They use ajax in some cases.
I have never done such impact analysis so what is the best approach?
The approach is to run these applications in IE8 and see what happens.
After that you will write down what works and what breaks and attempt to estimate:
The time/work/money needed to fix what does not work
Costs and consequences of running for some time partially broken applications, until they get fixed
Advantages of running under IE8 (after everything will be fixed) vs. sitting with the good old IE7
That should give enough information to management to decide on how the migration will proceed.
I'd push out IE8 and change the IIS headers to force IE7 Compatibility mode by adding the following meta tag (the opening < and closing /> are removed so that the string could post):
meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"
Make this change on all of of your ASP.NET sites. Then, as a site is updated to work in IE8, remove the header and IE8 will run in standards mode.
The first question I would ask is whether you have a compelling reason to move to IE8?
There are many websites that don't work (the whole reason that IE8 has a "compatibility mode"). The chances that you have done some of the same things these websites do to make them "incompatible" is fairly good.
There is no way around a need to thoroughly test your own applications before making the move.
We found that the move to IE8 actually broke some things in Visual Studio (seems it's a known issue) so didn't even get as far as starting to test the applications.
I am IE user and use Vista and develop in VS2008. IE7 became almost unusable and actually changed my default browser to Firefox. This caused more issues for me since I use msn hotmail and other things that seem to work together quite well (MS passport etc) I was also sceptical about upgrading to IE8, but did it. its better! I would suggest upgrading to IE8 and fixing what needs to be fixed anyway.

Resources