asp.net page not fully loading in IE6 from iframe - asp.net

I have two iframes on a page, one of which displays a simple asp.net page, the other is used to display office documents, normally in the browser using an active x control.
This all works fine unless I 1: run on IE6 SP3 & 2: disable the activeX control and allow the document to be shown natively by the client (i.e in word etc.). When this happens the document is displayed with no issues, however the other iframe is either blank or just displaying the background image.
Using fiddler I can see that all content has come down so the troublesome iframe should render correctly, however when I view its' source all I get is the top part of the content, down as far as
var theForm = document.f
Does anyone have any ideas ???

Related

IFrame content is showing as blank while printing the whole page

I have asp.net page, in that page i have lot of design, and i have put one Iframe control. I am loading pdf in iframe. When i print the page, all the designs in the page are showing whereas the Iframe content showing as blank?
Can anyone suggest how to print the iframe content along with the page design?
I have asp.net page, in that page i have lot of design, and i have put one Iframe control. I am loading pdf in iframe. When i print the page, all the designs in the page are showing whereas the Iframe content showing as blank?
Can anyone suggest how to print the iframe content along with the page design?
The reason we use frames such as <Embed an <Object in <iFrame is so we can run one binary application/pdf window inside another binary application/html window.
Thus, if it's allowed, we print one or the other that are present in their own window.
It is often the case that a pdf is not reloaded into the browser after its downloaded by the inner framed application.
So you can print a web page natively by both applications as two pages, but thats not much use as an answer to your question.
The only reasonable solution is to capture the combined screen output, and for that we can press print screen or take a screenshot with yet another binary application, such as the operating system driving the screen.

How to detect what cause empty/blank pages printed from web page

I'm working on printing product web page. Employ #media print {...} to customize components for proper appearance on print canvas. But one issue I even can't understand how to drill to the root of the problem. The issue is that 3 out of 5 total pages are blank. First two pages rendered with content and then three blank pages. Chrome print preview popup window just give result and I have no clue what component(s) responsible for "printing" blank pages.
I find how to use chrome devtool to emulate print canvas and drill down to trouble maker

asp.net not looking different in IE compatibility view

I have an asp.net site which when viewed in IE, although the content is fine, the header and menubuttons are mis-aligned when not in compatibility view.
When compatibility view is on the items appear as they are on the masterpage.
Its a small site (not live yet so cant give a link) and Ive not used CSS for the masterpage, just put the header image and menubuttons inside an html table.
As I say, everything else looks fine, it just these items.
Is there anything obvious I can do / check, or is it back to the drawing board on the design front - any comments?
thanks

how to properly display SSRS site within iframe

I have been working on a project where I need to load a ssrs site within an iframe. The iframe is acutally using the telerik spitter panels but the DOM refers to it as an iframe when rendered. The issue I am coming into is when referencing the SSRS site it loads wihtin the iframe but the view tiled multiple times over. In reading I have seen mention that the SSRS site also uses iframes which causes an issue when loaded into another iframe. Does anyone know of a solution for this type of scenario or can you point me in the right direction of where to look? In essence I have to wrap an asp.net wrapper around the SSRS site as it is a part of a larger site and users need to be able to navigate to this section of the site using the main navigation. I need to avoid pop-up windows or redirects as the user needs to get the expereince that they are in the same site even though I am loading ssrs from another server. Attached is a screen shot of what the tiling looks like. The site is small so I am not using masterpages it is loaded directly within an asp.net document.
Any tips or suggestions are always appreciated. Thank you
from experience I've found IFRAMEs and FRAMEs with SSRS 2008 did not work reliably (admittedly I had IE6 issues too).
Eventually I settled on using JavaScript/jQuery to create a DIV at the top of the page that looked like the top nav bar of my home page, using behaviors (IE) or bindings (FF) that can be loaded in using the "ReportingServices" style sheet e.g.
/* add in behavior file for IE */
body {
behavior: url("/Reports/IE-frame.htc");
}
/* Firefox-only XBL */
body {
-moz-binding: url("/Reports/FF-frame.xml#initFrame");
}

Back button loop with IFRAMES

In my (school) website we use Iframes to display class blogs (on blogger). This works well EXCEPT if the user then clicks on (say) a photo inside the iframe. Blogger (in this case) then displays the photo in the whole browser window and the back button loops; that is if the back button is hit, the browser (IE, FF, Chrome) stays on the same page. The only way out is for the user to jump back two pages (which many of our users don't know how to do).
I've read a lot of posts on back buttons and iframes and there doesn't appear to be a simple solution. Bear in mind that I don't have control over the iframe content (so no embedded back buttons in the frame are possible). Ideas anyone?
The solution I would use would be to loop through the iframe content after it has been loaded and set target attributes on links in the iframe so that they open in either the iframe, or in a new window. Here's an example using jQuery:
$('#iframeID').contents().find('a').attr('target', '_blank');
You could do something similar using a loop and DOM methods, I'll post some code to do that if your not sure how to go about it.
EDIT: can't access the content if its cross domain, so this wouldn't work in this case

Resources