<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Channel 9 Forums - Tech Off - Content Header??</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Forums/rss"></atom:link>
	<image>
		<url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url>
		<title>Channel 9 Forums - Tech Off - Content Header??</title>
		<link>http://channel9.msdn.com/Forums</link>
	</image>
	<description>Channel 9 keeps you up to date with the latest news and behind the scenes info from Microsoft that developers love to keep up with. From LINQ to SilverLight – Watch videos and hear about all the cool technologies coming and the people behind them.</description>
	<link>http://channel9.msdn.com/Forums</link>
	<language>en</language>
	<pubDate>Sat, 25 May 2013 04:44:24 GMT</pubDate>
	<lastBuildDate>Sat, 25 May 2013 04:44:24 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<c9:totalResults>5</c9:totalResults>
	<c9:pageCount>-5</c9:pageCount>
	<c9:pageSize>-1</c9:pageSize>
	<item>
		<title>Tech Off - Content Header??</title>
		<description><![CDATA[<p><div><font size="2"><span class="spnMessageText" id="msg"><font color="#0000ff">Hi ,<br>
<br>
I do have a page in which I want to open an xml file in a button click. In the button click am opening an aspx page through JavaScript location.href(). In the aspx page am simply adding a file using an addheader method and using response.write am writing an
 XML string to that file. Like ...<br>
<br>
Response.AddHeader(&quot;Content-disposition&quot;, &quot;attachment; filename=&quot; &#43; FileName &#43; &quot;.xml&quot;);<br>
Response.ContentType = &quot;application/xml&quot;;<br>
Response.Write(FileContent);<br>
<br>
The problem is something like when am clicking the button in the main page the dialog window asking whether to Open, Save or Cancel is popping out, if am giving Open then the particular Xml file is been opened in the same page. I do want to open this particular
 Xml file in another blank window. Is this possible? If possible how can I do that?<br>
<br>
Thanks in Advance.</font></span></font></div></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/253068-Content-Header/253068#253068</link>
		<pubDate>Mon, 12 Mar 2007 06:36:11 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/253068-Content-Header/253068#253068</guid>
		<dc:creator>venkatzeus</dc:creator>
		<slash:comments>5</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/venkatzeus/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Content Header??</title>
		<description><![CDATA[<p>As far as I know it's not really possible. You could use window.open instead of just setting the location.href property of the current window, which would give you the new window if the user choose Open instead of Save. But if they chose Save, the new
 window would still be left open, which isn't ideal.<br>
<br>
It's pretty standard behavior to have the downloaded content replace the current window if the user chooses Open anyways.<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/253068-Content-Header/83e1b629569c47d4b7a39dea0154372c#83e1b629569c47d4b7a39dea0154372c</link>
		<pubDate>Mon, 12 Mar 2007 06:58:26 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/253068-Content-Header/83e1b629569c47d4b7a39dea0154372c#83e1b629569c47d4b7a39dea0154372c</guid>
		<dc:creator>Jonathan Carter</dc:creator>
		<slash:comments>5</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/LostInTangent/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Content Header??</title>
		<description><![CDATA[<p>Thanks for the reply. Is there any work-around for this? <br>
<br>
Please Help</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/253068-Content-Header/98fbf2a7aacf48ee947a9dea01543752#98fbf2a7aacf48ee947a9dea01543752</link>
		<pubDate>Mon, 12 Mar 2007 07:04:26 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/253068-Content-Header/98fbf2a7aacf48ee947a9dea01543752#98fbf2a7aacf48ee947a9dea01543752</guid>
		<dc:creator>venkatzeus</dc:creator>
		<slash:comments>5</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/venkatzeus/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Content Header??</title>
		<description><![CDATA[<p>Hi.. </p>
<p>The problem here is that i am not able to open&nbsp;XML files&nbsp;in a new page.. They are getting opened in the same page. Imagine this scenario, i have uploaded a xml file. Now i want to download that xml file. when the pop up window opens, i have the open,save
 and cancel buttons. If i click on the open button, the xml page is getting opened in the same page of the parent page. How to make the xml files to be opened in a new window?</p>
<p>Please help&nbsp;</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/253068-Content-Header/c2597ff2bb8143c88dbb9dea01543779#c2597ff2bb8143c88dbb9dea01543779</link>
		<pubDate>Mon, 12 Mar 2007 10:21:33 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/253068-Content-Header/c2597ff2bb8143c88dbb9dea01543779#c2597ff2bb8143c88dbb9dea01543779</guid>
		<dc:creator>venkatzeus</dc:creator>
		<slash:comments>5</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/venkatzeus/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Content Header??</title>
		<description><![CDATA[<p>I am able to get the xml page in a new window. Now the problem is this: The new page will be displayed before the pop window(ie,&nbsp;the open , save,cancel window)&nbsp;actually comes. so if the user clicks on the save or cancel button, the new page is still present.&nbsp;
 How to dispose the opened page if the user clicks on save or cancel button?<br>
<br>
</p>
<div>Actually when you click the master page's button that time itself the pop window is popping up.. When that page is been loaded since in that page header we are appending the content the download window is popping out. At that time if am canceling or even
 if am saving the content the opener pop window is still there. I want to kill that window in case of cancel or save.
</div>
<div>&nbsp;</div>
<div>Is there any work-arounds to achieve it by code?</div>
<div>&nbsp;</div>
<div>Please help</div>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/253068-Content-Header/54f9e7abd1ec488ca83f9dea015437a2#54f9e7abd1ec488ca83f9dea015437a2</link>
		<pubDate>Mon, 12 Mar 2007 11:46:25 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/253068-Content-Header/54f9e7abd1ec488ca83f9dea015437a2#54f9e7abd1ec488ca83f9dea015437a2</guid>
		<dc:creator>venkatzeus</dc:creator>
		<slash:comments>5</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/venkatzeus/Discussions/RSS</wfw:commentRss>
	</item>
</channel>
</rss>