Wednesday, June 12, 2013

Windows Visual Studio WebControl Under IE 7 Emulation Does Not Load JSON

Symptom:

Under the IE7 emulation mode of the Visual Studio WebControl, JSON does not load.  You receive 'JSON' is undefined error.

Root Cause:

JSON is not natively supported in IE7.

Workaround:

You can include JSON2 from https://github.com/douglascrockford/JSON-js/blob/master/json2.js in your script set and this will make JSON to work.




No comments: