IFrame not working with IE - iframe

I am using iFrame to load a url in a popup within a page.I want log in to the website and perform some operations.
All this happens in the same page within an iFrame in a modal.
Except IE all browsers work fine.But in IE after one or two steps the the website is directed to the home page.
I am not able to find why this is happening.
Any help is appreciated.

IE is know to be different, but I wont get into that old debate here.
Since you are logging in from an iFrame, there may be something regarding session variables which is making it fail.
Session in Iframe working in Firefox but not in Internet Explorer
Other than that, I suggest debugging using debug bar to see what type of XHR requests are being made, and then determine the exact point of failure.

Related

Stylesheet delayed on firefox

My asp.net MVC application use bundling to render stylesheet in my _Layout Page. Once my application deployed, I use Firefox and navigate to my login page and got this weird behavior I can't explain.
When I clear firefox cache to force reload stylesheet from server, I first see my page without any style applied. Then once the stylesheet is loaded, style are applied wich cause some unwanted 'flickering'. On chrome an IE, nothing is displayed before stylesheets are loaded, so no flickering here. I also have a really similar web app on my server for which, when I browse it with firefox, the 'flickering' problem doesn't occur. So I guess it must be something, maybe the order of code blocks in my page, that causes this behavior, not only the browser.
Is there a place where whe can look into your code? It's kinda hard to give an answer by just this question and information. The problem can be caused by alot of possibilities.
Did you try viewing the application on another computer? Sometimes that can be handy to determine if the issue is local (or is a general issue).
If there is a link to share, that would be great.

Response.Redirect using HTTPS and IE edge causing error outputs content of header

I am experiencing a lot of troubles with the new browser Edge in Windows 10. I am getting problems when I try to response.redirect a user after login to a default page.
The problem is that it outputs the content of the header to the page instead of redirecting me to the correct page. (see attached image) and if I refresh the page I get redirected correctly and the page shows up as it should.
The problem only appears when I try to use HTTPS along with my application and it only appears in Edge, all other browsers even previous versions of internet explorer works perfectly.
The code I use to response.redirect user is and to be sure iv'e added the https manually before I used Response.Redirect('~\Default.aspx)' which also works but just to be sure I added the https prefix manually using the below code.
Dim url As String = String.Format("https://{0}{1}", Request.ServerVariables("HTTP_HOST"), "/Default.aspx")
Response.Redirect(url)
I've stepped through the code and the content of the url looks like
https://localhost:44300/Default.aspx so it should work and it looks exactly like it does in every other browser where it works.
Image of the issue
Any known issues with Edge? I've also tried forcing compatbitlity mode IE9 / IE8 which doesnt seem to work in Edge with no luck, so I am running out of options.
The only way I can get this to work is to stop using https and force the use of http.
Any advice on what I can try next or perhaps do to fix this?
Best regards Marcus

Why does our website load so much slower in IE than any other browser?

We have a WordPress website which loads sufficiently in every browser I've tried, except for IE. For some reason in IE, it seems to freeze the browser for a few seconds every single time the page is loaded, doubly so if it has to load a page with an iframe of another page. The user has to wait awhile before they can interact with anything on the page.
Here's the site.
Someone suggested we could use WP Supercache to solve the issue, but I've had problems with this plugin in the past and am reluctant to rely on it, especially since this seems to be only a problem in IE.
What is the best way I can troubleshoot this issue? How do I find out which scripts in the header, or footer, etc. is causing it? Is there a quick way to do so, or do I just need to start eliminating variables within the theme?
I'd don't quite understand why but in IE9 style.css is being pushed right down the page load order - see request #35 http://www.webpagetest.org/result/130327_Y9_f1d5796658d8475b68e2e537644173f1/1/details/
As a browser won't render until it's downloaded the applicable CSS this blocks rendering.
Chrome on the other hand prioritises downloads so that resources that can block rendering are downloaded ahead of images.
Here's a side-by-side video of the two loading experiences.
(If you want help looking at this further my contact details are in my profile)
Thanks to this thread I just found, the answer appears to be fancybox: Fancybox causing slow load times in IE?
Specifically, the IE-specific filters in the CSS file for fancybox. I removed those filter styles, and it loads fine now.
Sorry, I don't seem to be able to give just a comment. Anyway, in Opera 12.14 it works fine. And in Explorer (8) it works just as well, no errors in the console. Just my .1 cent.

IE8 asp.net navigation cancelled error on postback

In our company, we have bought a web application that we are testing in the intranet zone. We are using IE 8.
Basically, on a particular page, there are a few buttons, and one of them populates a fairly big gridview.
Then as soon as I click on another button that causes a postback, I immediately get a 'web page navigation cancelled (DNS Error).
At first I thought it could be a problem with the URL being too long, but it's not the case.
Then, the vendor performed the same actions on his computer, and it worked correctly. Clearly, this is not a problem with the website itself, but probably a configuration with IE8.
Unfortunately, we cannot use or test with Firefox or IE9. We are stucked with IE8.
Any ideas?
Thank you!
Take a look at the answers on this thread, specifically the one by SpritX. Many reasons this could be happening and there are a few solutions in that discussion you can try.

Site working in FF not in IE, Built with iframes

I have a site, that i built through iframes, but i cant seem to use it with IE.
For safety resons i cannot give access to it, but ill explain wehat the problem is.
First of all i was forced to do it through iframes due to the webserver didnt support .net.
Heres how it looks:
http://ipdg.se/order.htm
So far so good, an iframe working good. But when i try to log in the problem starts.
If FF it goes smoothly, but in ie, it doesnt happen anything(Would normally be redirect to the same page but with session variables and showing other content) i dont know what causes this. but either IE cannot do response.redirects, or there is a problems with the iframe.. or both.
It works in alla major browsers except for internet explorer!
Some time back there was a problem like this... the iframe tag was
<Iframe src="order.php" width="450" height="650"></Iframe>
The solution was to change the src from order.php to order.html... That may not be possible in your case, but it appeared that there was an IE security setting that prohibited the dynamic page from loading.
As a previous poster said. the problem is with IE and its security check, therefore. Using server.transfer got it working.
response.redirect doesnt redirect directly to the page, it communicates with the client browser before the redirect. therefore the browser has a chance to stop the request(Lame IE).
but server.transfer doesnt do that and goes around the problem.

Resources