iframe data is not printed properly
<p>i am trying to print div data using iframe and div contain grid with pagination when i print div using js only couple of records are printed in .xps file.. why it so... </p>

<p>here is the iframe :</p>

<pre><code>&lt;iframe id='ifrmPr' src='#'style="width:100%;height:100%;display:block;border:none;ackground:transparent"&gt;    
&lt;/iframe&gt;
</code></pre>

<p>here is my js code to print div</p>

<pre><code>var ifrm = document.getElementById('ifrmPr');
        var content = document.getElementById('PrintSection').innerHTML;

        /* Determine what DOM model to use */
        var printDoc = (ifrm.contentWindow || ifrm.contentDocument);
        if (printDoc.document) {
            printDoc = printDoc.document;
        }

        /* Create a HTML document to go into the iFrame */
        /* The title will appear on the printed document */
        printDoc.write("&lt;html&gt;&lt;head&gt;&lt;title&gt;title&lt;/title&gt;");
        printDoc.write("&lt;link rel='stylesheet' type='text/css' href='../../Content/pageElement.css' /&gt;");
        printDoc.write("&lt;link rel='stylesheet' type='text/css' href='../../Content/Site.css'  /&gt;");
        printDoc.write("&lt;link rel='stylesheet' type='text/css' href='../../Content/style.css'  /&gt;");
        printDoc.write("&lt;/head&gt;&lt;body onload='this.focus(); this.print();'&gt;");
        printDoc.write(content + "&lt;/body&gt;&lt;/html&gt;");
        printDoc.close();
</code></pre>
