<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: PDF embedded within HTML page</title>
	<atom:link href="http://salehalsaffar.com/blog/?feed=rss2&#038;p=244" rel="self" type="application/rss+xml" />
	<link>http://salehalsaffar.com/blog/?p=244</link>
	<description>Programming, Web Developing, and nonsense... my computer knows my thoughts!</description>
	<lastBuildDate>Wed, 25 Aug 2010 14:35:37 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: flavia</title>
		<link>http://salehalsaffar.com/blog/?p=244&#038;cpage=1#comment-9067</link>
		<dc:creator>flavia</dc:creator>
		<pubDate>Wed, 25 Aug 2010 14:35:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flashcolony.com/?p=244#comment-9067</guid>
		<description>This does not work on a mac platform.</description>
		<content:encoded><![CDATA[<p>This does not work on a mac platform.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brad</title>
		<link>http://salehalsaffar.com/blog/?p=244&#038;cpage=1#comment-7294</link>
		<dc:creator>Brad</dc:creator>
		<pubDate>Tue, 20 Jul 2010 10:43:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flashcolony.com/?p=244#comment-7294</guid>
		<description>Hi, i need to read a pdf from file but the file name may change in the future. is it possible to write HTML to read a file without specifying the fiel name?

Thanks</description>
		<content:encoded><![CDATA[<p>Hi, i need to read a pdf from file but the file name may change in the future. is it possible to write HTML to read a file without specifying the fiel name?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Okay Living</title>
		<link>http://salehalsaffar.com/blog/?p=244&#038;cpage=1#comment-5765</link>
		<dc:creator>Okay Living</dc:creator>
		<pubDate>Sun, 20 Jun 2010 06:42:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flashcolony.com/?p=244#comment-5765</guid>
		<description>I would like to say, nice webpage. Im not sure if it has been addressed, however when using Firefox I can never get the entire page to load without refreshing alot of times. Could just be my modem.</description>
		<content:encoded><![CDATA[<p>I would like to say, nice webpage. Im not sure if it has been addressed, however when using Firefox I can never get the entire page to load without refreshing alot of times. Could just be my modem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anil</title>
		<link>http://salehalsaffar.com/blog/?p=244&#038;cpage=1#comment-5311</link>
		<dc:creator>Anil</dc:creator>
		<pubDate>Mon, 14 Jun 2010 10:33:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flashcolony.com/?p=244#comment-5311</guid>
		<description>Hi,

I m using the way to render PDF in HTML, but i m doing it in MVC like this

&lt;object data=&quot;/JDLCustomer/GetPDFData?projID=&amp;folder=&quot;
        type=&quot;application/pdf&quot; width=&quot;960&quot; height=&quot;900&quot;&gt;
    

and Controller/Action is

 public void GetPDFData(string projID, Project_Thin.Folders folder)
        {
            Highmark.BLL.Models.Project proj = GetProject(projID);
            List ff = proj.GetFiles(folder, false);
            if (ff != null &amp;&amp; ff.Count &gt; 0 &amp;&amp; ff.Where(p =&gt; p.FileExtension == &quot;pdf&quot;).Count() &gt; 0)
            {
                ff = ff.Where(p =&gt; p.FileExtension == &quot;pdf&quot;).ToList();

                Response.ClearHeaders();
                Highmark.BLL.PDF.JDLCustomerPDF pdfObj = new JDLCustomerPDF(ff, proj.SimpleDbID);
                byte[] bArr = pdfObj.GetPDF(Response.OutputStream);
                pdfObj = null;

                Response.ContentType = &quot;application/&quot; + System.IO.Path.GetExtension(&quot;TakeOffPlans&quot;).Replace(&quot;.&quot;, &quot;&quot;);
                Response.AddHeader(&quot;Content-disposition&quot;, &quot;attachment; filename=\&quot;TakeOffPlans\&quot;&quot;);
                Response.BinaryWrite(bArr);
                Response.Flush();
            }
        }

the problem is, as i m downloading data first from server and then return the byte data, it is taking some time in downloading, so i want to show some kind of progress to show processing.

Please help me on this</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I m using the way to render PDF in HTML, but i m doing it in MVC like this</p>
<p>&lt;object data=&quot;/JDLCustomer/GetPDFData?projID=&amp;folder=&#8221;<br />
        type=&#8221;application/pdf&#8221; width=&#8221;960&#8243; height=&#8221;900&#8243;&gt;</p>
<p>and Controller/Action is</p>
<p> public void GetPDFData(string projID, Project_Thin.Folders folder)<br />
        {<br />
            Highmark.BLL.Models.Project proj = GetProject(projID);<br />
            List ff = proj.GetFiles(folder, false);<br />
            if (ff != null &amp;&amp; ff.Count &gt; 0 &amp;&amp; ff.Where(p =&gt; p.FileExtension == &#8220;pdf&#8221;).Count() &gt; 0)<br />
            {<br />
                ff = ff.Where(p =&gt; p.FileExtension == &#8220;pdf&#8221;).ToList();</p>
<p>                Response.ClearHeaders();<br />
                Highmark.BLL.PDF.JDLCustomerPDF pdfObj = new JDLCustomerPDF(ff, proj.SimpleDbID);<br />
                byte[] bArr = pdfObj.GetPDF(Response.OutputStream);<br />
                pdfObj = null;</p>
<p>                Response.ContentType = &#8220;application/&#8221; + System.IO.Path.GetExtension(&#8220;TakeOffPlans&#8221;).Replace(&#8220;.&#8221;, &#8220;&#8221;);<br />
                Response.AddHeader(&#8220;Content-disposition&#8221;, &#8220;attachment; filename=\&#8221;TakeOffPlans\&#8221;");<br />
                Response.BinaryWrite(bArr);<br />
                Response.Flush();<br />
            }<br />
        }</p>
<p>the problem is, as i m downloading data first from server and then return the byte data, it is taking some time in downloading, so i want to show some kind of progress to show processing.</p>
<p>Please help me on this</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: priya</title>
		<link>http://salehalsaffar.com/blog/?p=244&#038;cpage=1#comment-4920</link>
		<dc:creator>priya</dc:creator>
		<pubDate>Mon, 07 Jun 2010 06:04:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flashcolony.com/?p=244#comment-4920</guid>
		<description>When i am pressing f8 ..it&#039;s again showing the toolbar...is there any advise...</description>
		<content:encoded><![CDATA[<p>When i am pressing f8 ..it&#8217;s again showing the toolbar&#8230;is there any advise&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Panda Internet Security</title>
		<link>http://salehalsaffar.com/blog/?p=244&#038;cpage=1#comment-4516</link>
		<dc:creator>Panda Internet Security</dc:creator>
		<pubDate>Mon, 24 May 2010 14:47:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flashcolony.com/?p=244#comment-4516</guid>
		<description>Hi there, I observe that your case is rather observant as it talks about plenty of accurate information. Anyhow, was curious whether you would want to exchange contacts with my web space, as I am looking forward to build links to further spear point and gain better web exposure for my web space. I do not mind you laying my web links at the main page, just accepting this links on this respective page is great and adequate. By the way, please reach me at my website if you are interested in the link exchange, I would really value that. Thank you to you and I hope to get a reply from you as soon as possible!</description>
		<content:encoded><![CDATA[<p>Hi there, I observe that your case is rather observant as it talks about plenty of accurate information. Anyhow, was curious whether you would want to exchange contacts with my web space, as I am looking forward to build links to further spear point and gain better web exposure for my web space. I do not mind you laying my web links at the main page, just accepting this links on this respective page is great and adequate. By the way, please reach me at my website if you are interested in the link exchange, I would really value that. Thank you to you and I hope to get a reply from you as soon as possible!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Signs on the Cheap</title>
		<link>http://salehalsaffar.com/blog/?p=244&#038;cpage=1#comment-3982</link>
		<dc:creator>Signs on the Cheap</dc:creator>
		<pubDate>Mon, 03 May 2010 03:37:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flashcolony.com/?p=244#comment-3982</guid>
		<description>Nice information that you share on this article. I like to thank you for posting this great article. Good information.</description>
		<content:encoded><![CDATA[<p>Nice information that you share on this article. I like to thank you for posting this great article. Good information.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fae Herriot</title>
		<link>http://salehalsaffar.com/blog/?p=244&#038;cpage=1#comment-3332</link>
		<dc:creator>Fae Herriot</dc:creator>
		<pubDate>Wed, 07 Apr 2010 16:58:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flashcolony.com/?p=244#comment-3332</guid>
		<description>There is Just that your RSS is not responding properly with the google chrome browser :((</description>
		<content:encoded><![CDATA[<p>There is Just that your RSS is not responding properly with the google chrome browser <img src='http://salehalsaffar.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> (</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carlos</title>
		<link>http://salehalsaffar.com/blog/?p=244&#038;cpage=1#comment-2995</link>
		<dc:creator>Carlos</dc:creator>
		<pubDate>Thu, 25 Mar 2010 15:09:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flashcolony.com/?p=244#comment-2995</guid>
		<description>How can show embedded pdf and linerized</description>
		<content:encoded><![CDATA[<p>How can show embedded pdf and linerized</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: The Doctor</title>
		<link>http://salehalsaffar.com/blog/?p=244&#038;cpage=1#comment-756</link>
		<dc:creator>The Doctor</dc:creator>
		<pubDate>Mon, 05 Oct 2009 15:37:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flashcolony.com/?p=244#comment-756</guid>
		<description>I had the same problem as &quot;Jez,&quot; above -- the PDF only showed up as a placeholder. The problem was that I had just updated Adobe Flash Player and the update had unchecked &quot;Display PDF in Browser&quot; in Adobe Reader 9.1. Once I rechecked it the PDFs displayed.</description>
		<content:encoded><![CDATA[<p>I had the same problem as &#8220;Jez,&#8221; above &#8212; the PDF only showed up as a placeholder. The problem was that I had just updated Adobe Flash Player and the update had unchecked &#8220;Display PDF in Browser&#8221; in Adobe Reader 9.1. Once I rechecked it the PDFs displayed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shalom</title>
		<link>http://salehalsaffar.com/blog/?p=244&#038;cpage=1#comment-44</link>
		<dc:creator>shalom</dc:creator>
		<pubDate>Mon, 13 Apr 2009 20:16:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flashcolony.com/?p=244#comment-44</guid>
		<description>How can I print pdf with parameter ?</description>
		<content:encoded><![CDATA[<p>How can I print pdf with parameter ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://salehalsaffar.com/blog/?p=244&#038;cpage=1#comment-48</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Wed, 01 Apr 2009 21:16:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flashcolony.com/?p=244#comment-48</guid>
		<description>Trying to use the parameters to disable the Adobe toolbar, but the Toolbar is showing up on machines with Acrobat installed.  Is there another parameter/value I need to supply to disable the toolbar in Acrobat also?</description>
		<content:encoded><![CDATA[<p>Trying to use the parameters to disable the Adobe toolbar, but the Toolbar is showing up on machines with Acrobat installed.  Is there another parameter/value I need to supply to disable the toolbar in Acrobat also?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Warnke</title>
		<link>http://salehalsaffar.com/blog/?p=244&#038;cpage=1#comment-41</link>
		<dc:creator>Eric Warnke</dc:creator>
		<pubDate>Wed, 18 Feb 2009 18:06:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flashcolony.com/?p=244#comment-41</guid>
		<description>Is there any way to change the background colour? Or fit the PDF so it takes up exactly the whole frame?

Cheers,
Eric</description>
		<content:encoded><![CDATA[<p>Is there any way to change the background colour? Or fit the PDF so it takes up exactly the whole frame?</p>
<p>Cheers,<br />
Eric</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Suman</title>
		<link>http://salehalsaffar.com/blog/?p=244&#038;cpage=1#comment-54</link>
		<dc:creator>Suman</dc:creator>
		<pubDate>Mon, 09 Feb 2009 10:47:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flashcolony.com/?p=244#comment-54</guid>
		<description>Informative article... its really good.</description>
		<content:encoded><![CDATA[<p>Informative article&#8230; its really good.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adding a pdf document - Web Hosting</title>
		<link>http://salehalsaffar.com/blog/?p=244&#038;cpage=1#comment-49</link>
		<dc:creator>Adding a pdf document - Web Hosting</dc:creator>
		<pubDate>Tue, 30 Dec 2008 23:16:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flashcolony.com/?p=244#comment-49</guid>
		<description>[...]    Okay ... you can do what you are asking and here are the instructions to do so .. have a look at what might hinder some viewers too ..   __________________ NEW - Dating [...]</description>
		<content:encoded><![CDATA[<p>[...]    Okay &#8230; you can do what you are asking and here are the instructions to do so .. have a look at what might hinder some viewers too ..   __________________ NEW &#8211; Dating [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raphix</title>
		<link>http://salehalsaffar.com/blog/?p=244&#038;cpage=1#comment-35</link>
		<dc:creator>Raphix</dc:creator>
		<pubDate>Fri, 20 Jun 2008 00:42:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flashcolony.com/?p=244#comment-35</guid>
		<description>Hi,

I need block the save or save as botton, I have profesional 7.0 and my documents are sensitive because I need block with password, what is the solution, please help me..</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I need block the save or save as botton, I have profesional 7.0 and my documents are sensitive because I need block with password, what is the solution, please help me..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yves</title>
		<link>http://salehalsaffar.com/blog/?p=244&#038;cpage=1#comment-47</link>
		<dc:creator>Yves</dc:creator>
		<pubDate>Thu, 08 May 2008 12:38:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flashcolony.com/?p=244#comment-47</guid>
		<description>Warning for those who use Microsoft AJAX. This solution failed inside a panel extended by a CollapsiblePanelExtender. Apparently the collapsible panel extender is not compatible with an object tag hosting a pdf.
Otherwise, this article was very useful, thank you for that.</description>
		<content:encoded><![CDATA[<p>Warning for those who use Microsoft AJAX. This solution failed inside a panel extended by a CollapsiblePanelExtender. Apparently the collapsible panel extender is not compatible with an object tag hosting a pdf.<br />
Otherwise, this article was very useful, thank you for that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SalehCoder</title>
		<link>http://salehalsaffar.com/blog/?p=244&#038;cpage=1#comment-34</link>
		<dc:creator>SalehCoder</dc:creator>
		<pubDate>Mon, 31 Mar 2008 06:12:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flashcolony.com/?p=244#comment-34</guid>
		<description>To Jez:
Do you have Adobe Reader installed in your machine?

To John:
I have no idea at all. I&#039;m using FF2.0.0.13 too and it works fine. It could  be a problem with your connection.

I&#039;m doing some modification, let me know if this works:
&lt;object type=&quot;application/pdf&quot; data=&quot;file1.pdf&quot; width=&quot;500&quot; height=&quot;300&quot; &gt;&lt;/object&gt;</description>
		<content:encoded><![CDATA[<p>To Jez:<br />
Do you have Adobe Reader installed in your machine?</p>
<p>To John:<br />
I have no idea at all. I&#8217;m using FF2.0.0.13 too and it works fine. It could  be a problem with your connection.</p>
<p>I&#8217;m doing some modification, let me know if this works:<br />
<object type="application/pdf" data="file1.pdf" width="500" height="300" ></object></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://salehalsaffar.com/blog/?p=244&#038;cpage=1#comment-33</link>
		<dc:creator>John</dc:creator>
		<pubDate>Sun, 30 Mar 2008 21:08:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flashcolony.com/?p=244#comment-33</guid>
		<description>it works with IE7 but not with FireFox 2.0.0.13.
I get a:
&quot;file I/O error has occured. The connection has timed out&quot;
from firefox.
Any ideas why it does not work?
Even your page, here , is not showing correctly with FireFox.</description>
		<content:encoded><![CDATA[<p>it works with IE7 but not with FireFox 2.0.0.13.<br />
I get a:<br />
&#8220;file I/O error has occured. The connection has timed out&#8221;<br />
from firefox.<br />
Any ideas why it does not work?<br />
Even your page, here , is not showing correctly with FireFox.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jez</title>
		<link>http://salehalsaffar.com/blog/?p=244&#038;cpage=1#comment-30</link>
		<dc:creator>Jez</dc:creator>
		<pubDate>Fri, 05 Oct 2007 14:49:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flashcolony.com/?p=244#comment-30</guid>
		<description>This method, no any other works for me.  Your PDFs on this page simply show as place holders - I am running IE7 - ant ideas?</description>
		<content:encoded><![CDATA[<p>This method, no any other works for me.  Your PDFs on this page simply show as place holders &#8211; I am running IE7 &#8211; ant ideas?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
