<?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: Using IFrames in ASP.NET</title>
	<atom:link href="http://www.roryhansen.ca/2005/08/22/using-iframes-in-aspnet/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.roryhansen.ca/2005/08/22/using-iframes-in-aspnet/</link>
	<description>Affiliate marketing, Internet marketing, web development, and small business ideas.</description>
	<lastBuildDate>Thu, 18 Mar 2010 09:50:41 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: sukh veer</title>
		<link>http://www.roryhansen.ca/2005/08/22/using-iframes-in-aspnet/comment-page-1/#comment-88622</link>
		<dc:creator>sukh veer</dc:creator>
		<pubDate>Tue, 23 Feb 2010 09:04:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.roryhansen.ca/?p=32#comment-88622</guid>
		<description>thanks for the post it helped me a lot</description>
		<content:encoded><![CDATA[<p>thanks for the post it helped me a lot</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Manish Dalal</title>
		<link>http://www.roryhansen.ca/2005/08/22/using-iframes-in-aspnet/comment-page-1/#comment-76705</link>
		<dc:creator>Manish Dalal</dc:creator>
		<pubDate>Sun, 10 May 2009 20:30:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.roryhansen.ca/?p=32#comment-76705</guid>
		<description>Great!

I was wondering how to display an image in iframe, the problem was that the image was dynamic and the name of the image keep on changing. Also, I needed to provide a save button that can launch the &#039;Save As&#039; dialog (in IE only). The code that I had always show popup, but I didn&#039;t want that, so I googled for it. I found a solution to put the image reference in an Iframe, so I did that.

Then I wanted to change the src of the iframe dynamically, how to do that, while reading your post around &#039;....accomplish this by using two standard controls: PlaceHolder and HtmlGenericControl.....&#039; I got the idea to generate the iframe text dynamically and set that text as the literal control object&#039;s text value.

And then............. it worked!

Thanks for the post and the guidance.</description>
		<content:encoded><![CDATA[<p>Great!</p>
<p>I was wondering how to display an image in iframe, the problem was that the image was dynamic and the name of the image keep on changing. Also, I needed to provide a save button that can launch the &#8216;Save As&#8217; dialog (in IE only). The code that I had always show popup, but I didn&#8217;t want that, so I googled for it. I found a solution to put the image reference in an Iframe, so I did that.</p>
<p>Then I wanted to change the src of the iframe dynamically, how to do that, while reading your post around &#8216;&#8230;.accomplish this by using two standard controls: PlaceHolder and HtmlGenericControl&#8230;..&#8217; I got the idea to generate the iframe text dynamically and set that text as the literal control object&#8217;s text value.</p>
<p>And then&#8230;&#8230;&#8230;&#8230;. it worked!</p>
<p>Thanks for the post and the guidance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Larry</title>
		<link>http://www.roryhansen.ca/2005/08/22/using-iframes-in-aspnet/comment-page-1/#comment-736</link>
		<dc:creator>Larry</dc:creator>
		<pubDate>Tue, 29 Aug 2006 13:35:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.roryhansen.ca/?p=32#comment-736</guid>
		<description>Awesome!
I was having a problem with Atlas and an iFrame. Building it dynamically was the solution.
Great post!</description>
		<content:encoded><![CDATA[<p>Awesome!<br />
I was having a problem with Atlas and an iFrame. Building it dynamically was the solution.<br />
Great post!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rory</title>
		<link>http://www.roryhansen.ca/2005/08/22/using-iframes-in-aspnet/comment-page-1/#comment-17</link>
		<dc:creator>Rory</dc:creator>
		<pubDate>Fri, 26 Aug 2005 02:50:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.roryhansen.ca/?p=32#comment-17</guid>
		<description>Thanks for mentioning that Scott! I actually did read somewhere else that I could use src=&quot;javascript:;&quot; so that under https the warning would not appear and did set it to that for the iframe. Plus, I think setting it to that nonsense javascript will also save a request to the webserver.</description>
		<content:encoded><![CDATA[<p>Thanks for mentioning that Scott! I actually did read somewhere else that I could use src=&#8221;javascript:;&#8221; so that under https the warning would not appear and did set it to that for the iframe. Plus, I think setting it to that nonsense javascript will also save a request to the webserver.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://www.roryhansen.ca/2005/08/22/using-iframes-in-aspnet/comment-page-1/#comment-16</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Wed, 24 Aug 2005 03:06:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.roryhansen.ca/?p=32#comment-16</guid>
		<description>One small piece of advice. If you are going to  use this on a secure page (using https), you&#039;ll have to set the src of the iframe to something on the site, otherwise you get a warning (at least in IE) telling you that the page contains secure and non-secure items.

I&#039;ve seen people create a blank HTML page in the site and set the src to that. I set the src = &quot;javascript:;&quot;. That takes care of the warning.

I think, if I remember correctly, if you have inherited your user control from either a User Control or a Web Control, you can implement the marker interface INamingContainer and multiple instances of your controls will have a unique name. I&#039;m not certain if you can do that with a user control, but I can&#039;t think of any logical reason why you couldn&#039;t. But when has development ever been logical? :)</description>
		<content:encoded><![CDATA[<p>One small piece of advice. If you are going to  use this on a secure page (using https), you&#8217;ll have to set the src of the iframe to something on the site, otherwise you get a warning (at least in IE) telling you that the page contains secure and non-secure items.</p>
<p>I&#8217;ve seen people create a blank HTML page in the site and set the src to that. I set the src = &#8220;javascript:;&#8221;. That takes care of the warning.</p>
<p>I think, if I remember correctly, if you have inherited your user control from either a User Control or a Web Control, you can implement the marker interface INamingContainer and multiple instances of your controls will have a unique name. I&#8217;m not certain if you can do that with a user control, but I can&#8217;t think of any logical reason why you couldn&#8217;t. But when has development ever been logical? :)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
