Click here to Skip to main content
15,886,519 members
Everything / IE / Internet Explorer 9

Internet Explorer 9

IE9

Great Reads

by Anil Sharma1983
Internet Explorer 8/9 jsonresult method treats response as downloadable json result
by Gil Fink
In this post I’ll explain what is msPerformance and how you can use it to measure web page performance.
by Joan M
To speed up the startup of IE9 and to get links to the most popular sites in big displays
by Sandeep Neela
Platform independent jQuery workaround for legacy “Data Islands”

Latest Articles

by Sandeep Neela
Platform independent jQuery workaround for legacy “Data Islands”
by Anil Sharma1983
Internet Explorer 8/9 jsonresult method treats response as downloadable json result
by Hemant__Sharma
This tip explains how to arrange & apply correct DOCTYPE and X-UA-Compatible meta tag to newly added pages referenced in Frameset in an existing intranet (Enterprise) application.
by Joan M
To speed up the startup of IE9 and to get links to the most popular sites in big displays

All Articles

Sort by Score

Internet Explorer 9 

22 Nov 2015 by Anil Sharma1983
Internet Explorer 8/9 jsonresult method treats response as downloadable json result
22 Apr 2011 by Seth Morris
When I'm viewing articles on CodeProject (in IE9), blocks render with every line left-justified. If I copy and paste the code, it seems to have the spaces, though.EDITORS: IF YOU MAKE THESE SNIPPETS "PRETTY", THE QUESTION MAKES NO SENSE. PLEASE *READ* BEFORE CHANGING FORMATTING. THANK...
6 Oct 2010 by Gil Fink
In this post I’ll explain what is msPerformance and how you can use it to measure web page performance.
22 Apr 2011 by #realJSOP
You had the "Ignore HTML" checkbox checked (under the text entry field). I unchecked it and escaped the blocks your regular text, and it looks fine now.If you select the Improve question link, you'll see what I did.
16 Sep 2011 by Randor
The code works. If you are using regedit to view the changes then you need to select View->Refresh() from the menu to see the changes.A quick note... this registry key changes an internet security setting for Microsoft Trident based browsers at zone 3 (Internet Zone). You will most likely...
17 Sep 2011 by Member 7766180
How do you use this...I can't seem to find any examples...HRESULT SetZoneActionPolicy( [in] DWORD dwZone, [in] DWORD dwAction, [in] BYTE *pPolicy, [in] DWORD cbPolicy, [in] URLZONEREG urlZoneReg);
18 Sep 2011 by Sergey Alexandrovich Kryukov
You need to master such a basic method of abstraction as "function with parameters". The registry keys and a values to set should be passed as parameters to the code.The fact you show this code with access to OS API and immediate constants hard-coded in this fragment (which is really bad in...
19 Sep 2011 by DaveAuld
Have you seen this page which discusses the effects of the settings being set in different places? May have something to do with it.....http://support.microsoft.com/kb/182569[^]The article tells you where the other keys reside, and the additive or overriding effects of each of them....
19 Sep 2011 by Richard MacCutchan
if(ERROR_SU...
8 Dec 2011 by Sergey Alexandrovich Kryukov
Hm! It just tried it, it's true! My idea was to try jQuery. As I thought, the equivalent solution with jQuery worked correctly:$(fname).removeClass('txt');$(spfname).removeClass('error-span');$(fname).addClass('success');$(spfname).addClass('success-span');Please try it —...
5 Jun 2012 by thatraja
You could do that by using META Tag. For example,For more information look at this page Defining Document Compatibility[^]
30 Jul 2013 by Joan M
To speed up the startup of IE9 and to get links to the most popular sites in big displays
14 Feb 2013 by Daroosh
Can someone guide me to a tutorial to build a complete toolbar for both, IE and Firefox? For IE, i already have a running BHO (built completely in C++), I would like to build a new extension that adds a toolbar to my IE. Same goes for Firefox, would like to build an extension that adds a toolbar...
14 Feb 2013 by Daroosh
Found half the solution, A step by step tutorial for creating toolbars for FIREFOX.Hope this helps anyone out there:Step by Step tutorial to building a toolbar in FirefoxNow I still need a tutorial for the IE.Thanks in advance!
23 May 2013 by Marco Bertschi
The feature of hiding the adress bar was removed in later versions of IE.However, there is a workaround:You need to use JavaScript to hide the adress bar, since it is not possible to hide it with VB 6, ASP.Net...
10 Jul 2013 by KarstenK
this should be an example for your task:http://msdn.microsoft.com/en-us/library/bb250462(v=vs.85).aspx#dse_stlip[^]Your find the registry for this settings and change it before launching the IE...
2 Dec 2013 by SoMad
Since I am not getting anywhere with my problem, I was hoping someone here might have knowledge on this subject.I am working on a view in a huge, mature MFC application in Visual Studio 2010. This view hosts a browser control through a CDHtmlDialog[^] derived class. Within the browser page,...
23 Jun 2015 by Philippe Mori
Forget that. It make no sense to mimic old behavior on new browser. How other browser like Edge, Safari, Firefox, Chrome works? I don't thing that those details are defined and if so, then the new behavior would surely be the right one.By the way, the old IE way is a bad design. Why...
7 Jan 2016 by Sandeep Neela
Platform independent jQuery workaround for legacy “Data Islands”
22 Apr 2011 by Bruno Tagliapietra
I have the same issue, on Internet Explorer 9. Try use Chrome. Or even the compatibilty mode of IE9 should do the trick (that icon shaped like a shredded sheet of paper, near the address bar, on the right).
22 Apr 2011 by Sandeep Mewara
Ok. Thanks for informing. This has been raised to CP Admins and they will look into it. This is a similar thread reported: http://www.codeproject.com/Messages/3866045/Indents-Missing-from-PRE-blocks-in-IE9.aspx[^]
22 Jun 2011 by Joan M
Hello all,My couple is trying to access the bank web page in order to check the numbers...It seems that it is not possible to get into that page as the browser takes ages to load the page, and before showing anything else than a white page a messagebox appears telling something like:...
21 Jun 2011 by OriginalGriff
It could be as simple as the ISP your partner is using is having some problems: Since you say "I'm sure that there is internet connection as we are connected via skype" I assume that you are not using the same broadband connection!Best suggestion: Wait. Give it a while and see if it...
20 Jul 2011 by CarolineRafferty
Hi,When I debug a very simple website in Visual Studio 2010 Ultimate edition I get the error "Internet Explorer cannot display the webpage". This only happens if I am in debug mode for more than about 10 seconds. If I press F5 promptly on all the breakpoints I don't get the error, but if I...
20 Jul 2011 by Abhinav S
From this I take it you are trying to call a web service or database which could have a timeout.That could be a factor here?
8 Aug 2011 by Hariarjunan
Hi All,I developing HTML editor using WebBrowser control. Which is work fine in IE8 compatible systems but not working in IE9. IE9 disabled the WebBrowser control because of this I'm not able to edit my this control. Below I shows the sample code of my program.I drag the WebBrowser...
3 Aug 2011 by Debojyoti Majumder
Have tried as described in this linkhttp://stackoverflow.com/questions/4612255/regarding-ie9-webbrowser-control[^]This MSDN link also might help youhttp://msdn.microsoft.com/en-us/library/ee330730%28VS.85%29.aspx#browser_emulation[^]
17 Sep 2011 by Chuck O'Toole
One of these days, you're going to have to tell us what you're up to. The history of your questions raises suspicions.1) How to get somebody's IP packet sniffer to work.2) How to pull out the HTML packets from the data sniffed3) How to check for IP addresses4) How to get URLs from IP...
16 Sep 2011 by Member 7766180
I have this code that edits the windows registry. It works fine when the setting is set to enable and I run the following code to disable...HKEY hKey; DWORD buffersize = 1024; DWORD dwErr = NO_ERROR; #define BUFFER_SIZE 1024dwErr = RegOpenKeyEx...
16 Sep 2011 by Simon Bang Terkildsen
Looking at the documentation[^] it's close to useless I must admit, however sometimes that what we lowly Windows developers have to work with. And it's also here we get to show our worth.I suggest you playing around with IInternetZoneManager[^] especially look at the GetZoneActionPolicy [^]...
16 Sep 2011 by Member 7766180
I have this that I found, Does it help? Some. I still don't see where to set the value.InternetSecurityZoneManager example;Creating + getting + setting ZoneActionPolicyHRESULT hRes = ::CoCreateInstance( CLSID_InternetZoneManager, NULL, CLSCTX_SERVER,...
19 Sep 2011 by Member 7766180
I'm running this code to change registry key. However; I want to add an if statement to it that query the key before the change is made. Let's say I want to change the key to "0", I would query the key and if it was "0" then the code would stop, If it's a "3" then it would continue. How can...
25 Nov 2011 by Omen12345
I have a software that is opening PDF files in internet explorer, but I want to open these documents in my own .Net application in a webbrowser control instead.All of the mentioned PDF files are stored in an archive server and all of them can be opened by a URL. How can I prevent opening the...
25 Nov 2011 by Nikil S
Use the WebBrowser control's Navigate method to open the PDF file.Refer links below,http://social.msdn.microsoft.com/forums/en-US/vbgeneral/thread/c165c82d-ac79-477e-abab-3efd330d149f/[^]http://www.vb-helper.com/howto_net_open_pdf_browser.html[^]
7 Dec 2011 by shailesh125
Hello everybody I want to make my website faster so, i have decided to use Javascript validation.I have created javascript validation. Validations are working properly in Firefox and chrome but it is not working in IE.For e.g spfname.innerHTML = '
2 Mar 2012 by Mohankumar.Engain
Dear Sir,what is the problem in internet explorer for insert new records not display...now i clear the cookie and history files from IE then display otherwise it will not display.please how to solve this problem using c#,JavaScript,Asp.net,By mohan.Other browser are working...
2 Mar 2012 by Anuja Pawar Indore
Try thispublic static void DisablePageCaching(){//Used for disabling page...
6 Mar 2012 by Reborn123
How do i check for domain cookies in IE8/IE9 programatically using a C# built toolbar?I'm trying to check if the user is logged in on my site when he navigates there, using a site specific toolbar that i coded using C#.When the user logs in on the website, a cookie is created.
15 Mar 2012 by Rey Bango
Fix common IE problems: Update your docmode for web standards
20 Mar 2012 by ZurdoDev
IE spawns off new instances of iexplore.exe for new tabs and they do not all share the same session or cookie information.
25 Mar 2012 by rerefrancd
hello every one ,i want to Get the picture before display in IE 9.0 and modify it with my picture,change it to other image, anyone have a idea ,please tell my ,thank you!
28 Mar 2012 by ravijmca
Hi Please give more clarity on your question..Are you try to make any browser component or network related program ?
2 May 2012 by Member 8727449
hi m a newbee...i developed a windows application based on google analytics...my programming language is C#(c-sharp)...i have 2 Webbrowser controls in my form,which uses the IE version installed in the PC...my app. is working with other versions,jus not with IE9...it crashes in between and...
29 May 2012 by Member 8560922
Whenever i open my website it opens in Browser Mode : IE8 Compatibility View. I don't want my website to open in compatibility view either 8 or 9.I need to set a Browser Mode of IE using jquery or C#. Document Mode of IE had been set but Browser mode of IE could not be set using jquery or...
29 May 2012 by pataoengineer
One basic solution to prevent from this is using Regex to handle the validation before parsing it.You may need to apply this kind of Regex, see in the link for additional details:http://www.regular-expressions.info/dates.html[^]
8 Jun 2012 by Justin Garrett
Taking advantage of Internet Explorer 9 and Windows 7 developer tools, HuffPost created an immersive, app-like web experience with new Pinned Site features
8 Jun 2012 by Justin Garrett
Case Study Redefining the Designer Shopping Experience with Pinned Sites
13 Jun 2012 by Abed AlSayed
Hi Iam using Visual Basic 2010 Proffisional When I set the webbrowser (IE 9) control to editing mode, I can't change the html source code of it. for example when I add this code into button_click event : WebBrowser1.DocumentText = "Hellooo" All document Text become nothing...
13 Jun 2012 by Dave Kreskowiak
First, EditMode is not supported by IE (or the WebBrowser control).As for displaying a custom dialog, you'll have to create the dialog and show it yourself to ask for the URL to insert. Executing CreateLink has nothing to do with showing the dialog.The DefaultUserInterface parameter...
12 Aug 2012 by Member 9326644
My jquery mp3 plugin plays a mp3 file that is placed on a remote serve.it is playing it in Firefox.But when i try to play it in internet explorer 9 ,it says. **Jplayer 2.1.0:id='jquery_jplayer_1':Error!Media URL could not be loaded.Check media URL is valid.Context:Address of mp3 file...
12 Aug 2012 by StianSandberg
Your server (lecion.blob.core.windows.net) is probably sending the wrong mime types for the mp3-file. You have to add audio/mpeg3 as mime type for .mp3 files.you have to do this on the server. If it supports .NET you can do this in a web.config file. ...
2 Sep 2012 by Joan M
Hello all,Yesterday my father in law asked my help to solve a not so serious issue: it seems that a web page of one flight company in Spain is not working properly only with his computer... all the other computers in the house work as expected.Mine works as expected...The problem...
11 Oct 2012 by Member 2907700
Hi, can someone please help, we have already spent 2 weeks of time on this issue. My environment is visual studio 2008 with the latest Ajax toolkit (3.5). I have a modal popup control on a asp.net page. The modal popup has a update panel inside. From code behind, the update panel gets...
31 Oct 2012 by Member 9561541
Greetings! A client of mine has a homepage that displays an embedded RDL created in SSRS 2005; the RDL displays perfectly fine on IE8, but on IE9, I am prompted to download the file. When I download and open the file, it shows the information I expect to see, but it is obviously not embedded...
9 Nov 2012 by Member 2907700
Friends, I finally figured out a solution and wanted to update this thread (just in case if it is useful for someone).To reitreate, I have a Ajaxpopup that doesn't work consisitently on IE9 browser, I tried upgrading the ajax controls, all fixes, properties that I can get on the net but...
3 Jan 2013 by Bhavin Jagad
Hi All,I am newbie in javascript. I want to check that whether website is added or not added to compatibility view settings of ie browser . I am not able to change any server side(.asp files) code. so i have to use javascript(i can edit .js file). I google for this, and get solution as to...
3 Jan 2013 by Graham Breach
I doubt if you can read the list from the browser - that would be a security hole, exposing a list of sites the user expects to visit.You can find out if the current page is using compatibility mode though http://msdn.microsoft.com/en-gb/library/ie/cc196988(v=vs.85).aspx[^]
3 Jan 2013 by Brian Sedgmen
When loading a page, advert for Windows 8 finishes loading, and web page changes to only display the far right column, cannot get back to read article. I am using Explorer9 on 32 bit version of Windows 7. Tried pop up blocker, no use. What to do?Brian
3 Jan 2013 by fjdiewornncalwe
Your best bet might be to ask the question in the Site Bugs & Suggestions[^] forum.
31 Jan 2013 by PBGuy
How can I make IE allow cookies to be read/write in my code?What is with P3P policy? what's the use of P3P in http header?certain pages that use cookies to process are not getting opened, how can I make IE to permit pages to use cookies ..?Is P3P here to solve this issue?I...
6 Feb 2013 by Daroosh
Try Applying this code within your Invoke() method. Then, you'll be capable of catching all the events within the DIID_HTMLDocumentEvents2 Interface that are raised by your document. One of these events would be the onPropertyChange event which is raised everytime your document gets updated....
15 Feb 2013 by Daroosh
Found the other half of the solution.Creating IE Toolbar - 1Creating IE Toolbar - 2I managed to build both my IE and FF toolbars from the above mentioned links.Enjoy!
20 Feb 2013 by Daroosh
Hello everyone. I am trying to copy the complete content of one IHTMLDocument2 to another new instantiated copy of IHTMLDocument2. In pseudo code, it would be something like this:IHTMLDocument2 newDoc.content() = oldDoc.content()The reason why I'd like to do so, is simply that whenever a...
21 Feb 2013 by H.Brydon
(haven't tried it) I think you might be able to do this with innerHTML property.
7 Mar 2013 by Daroosh
Hey there,I've been trying to open a socket to send a basic "GET" request to a local server using the following piece of code:var oRequest = null;try { oRequest = new XMLHttpRequest();}catch (e) { oRequest = null;}try { if ( oRequest == null ) oRequest = new...
8 Mar 2013 by Daroosh
Found the Solution to my problem. Firefox doesn't allow your XMLHttpRequest to access cross domains to fetch data. Hence, in order to by pass this minor security check, add the following header to your XMLHttpRequest REPLY from the server:Access-Control-Allow-Origin: *Once your Client side...
8 Mar 2013 by Sergey Alexandrovich Kryukov
Please see my comments to the question.For XMLHttpRequest, look at this code:http://en.wikipedia.org/wiki/XMLHttpRequest#Another_method_to_set_XMLHttpRequest_for_all_browsers[^].Nevertheless, I insist that using ActiveX is really bad. It will never be supported by all browsers on all...
25 Mar 2013 by Daroosh
Hello everyone,I have built an IE extension which creates a new DIV HTML element and adds it to the page. The problem is that this newly created DIV element only appears on the screen when i click with the mouse any where within the page, otherwise, it doesn't display. I tried following...
26 Mar 2013 by Sameer Alomari
I found a memory leak in the following code (the else block) if (browser == "Microsoft Internet Explorer"){ if (vers
26 Mar 2013 by Sergey Alexandrovich Kryukov
I don't think you can do anything about it.Are you sure you really detected the leak? How? Not all methods are reliable. Anyway, if you do have a leak, you cannot prevent it. All complains go to Microsoft :-(—SA
3 Apr 2013 by Mac12334
Hi allI am getting error in IE.DOM7004: The window.name property was not set because the target window belongs to a different domain.I searched in Google and didn't any good link to solve thisI am getting error in...
8 Apr 2013 by Sergey Alexandrovich Kryukov
The string argument in document.getElementById must be in quotation marks.The exception is not revealed by JavaScript immediately due to implicit nature of variable declarations. The case is kind of funny. First, the name like saleplanTextIndex (without quotation marks) is handled as a...
8 Apr 2013 by kanth0405
Here is my complete function:function SummationSalesPlan(rowIDs) { var loopIndex1 = 0; var uspreplySum = 0; var salesplanSum = 0; var agentSum = 0; var eleName = ""; var rowCount = rowIDs.split('|')[rowIDs.split('|').length - 1]; ...
11 Apr 2013 by devcode007
Hi,If HTML page has multiple frames and each frames opens an HTML page and since each of this html pages has different Doctype, then how browser would decide the Mode.My actual requirement is to keep my webpages in quirks mode but i have a frames where i make use to render third party UI...
19 Apr 2013 by devcode007
hope it makes sense:I have situation something like below. Two radio button with onactivate,ondeactivate,onlclick event. For simplicity i mention it as below but in actual code the entire DOM is construction using Javascript and at various points these events are attached.
4 May 2013 by dimaxweb
How application becomes broken when ActiveX filtering is enabled in IE9 and a cool alternative way of parsing XML.
6 May 2013 by GrizzlyJames
I am developing a web application using Dojo v1.8 and my target machine runs IE9 and Silverlight 5.1.20125. In this web app, the user can select a tool from a toolbar at the top of the page that will open up in a content pane (or an IFrame if it is an external tool) below the toolbar (only one...
17 May 2013 by Zaki Imtiaz
Interestingly, I have worked this example by braking in it a very small part and found out the problem.In IE10, if an is present inside a , the height width attributes of an Iframe given in percentage doesn't pay much heed to the height width of its parent. Like in the following...
17 May 2013 by BBBwex
I haven't worked with IE10, (or IE in general very little), but I did have little problems before with codes between various browsers. For styling, you're bettor off using a CSS sheet and style your Iframe from there and let the browser sort it out then... It got me over the little...
17 May 2013 by AlphaDeltaTheta
If you drop a doctype declaration in html, ie falls back to ie6/ie7 mode that had this bug. In order to correct this you need to add the following meta tag.You can replace 10 with any version or "Edge" to always use latest version....
31 May 2013 by Daroosh
Hello everyone. I am currently building a BHO which aims at modifying the page DOM after the page is loaded. The DOM modification is performed within the DISPID_DOCUMENTCOMPLETE handler. However, some SCRIPTS run after the DISPID_DOCUMENTCOMPLETE event is triggered which modify the structure of...
31 May 2013 by KarstenK
At best you modify the content before it is loaded. Alternative you can completly reload the site with the modified DOM.
4 Jun 2013 by Vasudevan Deepak Kumar
When you are downloading files from IE after the file download completes, you get a message like 'Running Security ...'.What does IE do in this check? Because I have disabled smartscreen filters (requests to SmartScreen servers of Microsoft). The system is a new virtual box and it does not...
4 Jun 2013 by Sergey Alexandrovich Kryukov
Vasudevan Deepak Kumar wrote:Can you guide me how to disable those scans? I did Google Search of this but wasn't able to adjudicate a safer and standard way for the same.Sorry, I never knew anything above this: http://bit.ly/1368SUu[^].However, I'm pretty much sure you will find a solution...
13 Jun 2013 by S.a.n.4.e.s
Hello, everybody!I have such problem. There is a wev-server, where web-site and InfoPath forms (.xsn files) are hosted. When a user clicks on special link on web-page InfoPath form should be opened. Web-page returns XML with a directions to the appropriate .xsn form. It works on most machines,...
26 Jun 2013 by GrizzlyJames
Well I did not manage to solve this issue directly. However, there was another bug that I ran into which involved the java swing library not working on the production machine. The solution was to add the following tag as the first element of head:This forces IE to use IE8 instead of IE9....
9 Jul 2013 by Mohammed Essa
Hi Guys, I have an application written in C++ and in the code there is an instance of IE that is created, however I need that instance to be ran in protected mode or else the network doesn't see it as trusted. Is there a way in C++ or a script that I can run to create an instance of IE...
11 Jul 2013 by Nirav Prabtani
try this..:)http://www.toplinestrategies.com/dotneters/net/detecting-ie-compatibility-view-c/?lang=en[^]
29 Sep 2013 by arielb
It's very similar to this post:http://stackoverflow.com/questions/11062006/mvc-action-getting-called-twice[^]all elements are loaded twice, when i refresh the page, its loaded once only.Close all IE-9 windows, open the network tab and see that every resource is asked twice from the...
30 Sep 2013 by arielb
i've managed to do a workaround, since IE was probably developed by amoebas, i've made the server return "edge" header by: that fixed it.
28 Oct 2013 by Stephen Hewison
Hi,I'm experiencing a strange issue with just some of my IE 9 users.The following CSS should be a nice light grey gradient. But on some of my IE 9 users the gradient is a dark blue. I also have a green and an orange gradient which is coming out in the exact same shade of blue.When...
31 Oct 2013 by Stephen Hewison
As stated by Pablo, in the comments.it was the @from parameter in the CSS.I was using CSSLess in VS2012 and for some reason it's struggling to populate the filter component of the style.
31 Oct 2013 by Stephen Hewison
Hi,I have the following less definition.gradient(@from, @to) { background-color: @from; filter: ~"progid:DXImageTransform.Microsoft.gradient(startColorstr='@{from}',endColorstr='@{to}')"; background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(@from), to(@to)); ...
18 Nov 2013 by Muhammad Omer Khan
I am using HTML5 size checking API, it is working fine in all browser except IE8 and IE9. I am getting this error : "SCRIPT5007: Unable to get value of the property '0': object is null or undefined." in IE8 and IE9, because IE8 and IE9 do not support "[0]" this syntax.HTML5 File Size API...
19 Nov 2013 by Member 4066860
Hi, I need to get list of installed add-ons which is in Internet explorer (version 8, 9 etc). I should be able to get this list from the hosts using domain credentials.can this be achieved through WMI or any means but by using C#.NETThanks in Advance.Many Thanks!Best...
19 Nov 2013 by Moykn
As long as i know there is no way of doing this in ie
10 Dec 2013 by bobb024
Hey Everyone,I am implementing a new image menu and everything is working great with chrome and IE 10, but for browsers lower than that it is not rendering. I have been looking into making it cross compatible but image issues i have not seen much on. The menu is dynamically built each time...
19 Dec 2013 by Rohit Pritam Sawant
Hi,I want help in running IE9 / IE10/ IE11 in IE8 Compatibility Mode. There is a site which was made in ASP.Net and JQuery. It was working perfectly fine in IE 8 however, JQuery code doesn't work in IE9, IE10 and IE11The browser needs to be run in IE 8 mode from developer Tools every...
19 Dec 2013 by JoCodes
Refer the links which uses meta tags or custom headers to achieve itEnable Compatibility mode in IE[^] ...