<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Getting Started</title><link>http://forums.asp.net/15.aspx</link><description>The perfect forum for ASP.NET novices. No question too simple! &lt;A href="http://aspadvice.com/SignUp/list.aspx?l=21&amp;amp;c=17" target=_blank&gt;Email List&lt;/A&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Opening the files in an modless window.</title><link>http://forums.asp.net/thread/1789782.aspx</link><pubDate>Fri, 06 Jul 2007 05:48:06 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1789782</guid><dc:creator>Veera Venkata</dc:creator><author>Veera Venkata</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1789782.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=1789782</wfw:commentRss><description>&lt;p&gt;hi all,&lt;/p&gt;
&lt;p&gt;some of u had given some links for my post. thanks for that.&lt;/p&gt;
&lt;p&gt;but we r using asp.net1.1, we r&amp;nbsp; using the present code.&lt;/p&gt;
&lt;p&gt;the file types&amp;nbsp; are (.xls/doc/txt)&lt;/p&gt;&lt;font size="2"&gt;
&lt;p&gt;Response.ContentType = &amp;quot;application/&amp;quot; &amp;amp; FileExt&lt;/p&gt;
&lt;p&gt;Response.ContentType = &amp;quot;application/octet-stream&amp;quot;&lt;/p&gt;
&lt;p&gt;Response.AddHeader(&amp;quot;content-disposition&amp;quot;, &amp;quot;attachment; filename=&amp;quot; &amp;amp; FileNameOnly)&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;Response.WriteFile(iFileNname, False)&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;Response.End()&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;for this code, i am not able to get the open option.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;thanks,&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&amp;nbsp;&lt;/p&gt;&lt;/font&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Opening the files in an modless window.</title><link>http://forums.asp.net/thread/1789160.aspx</link><pubDate>Thu, 05 Jul 2007 19:33:22 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1789160</guid><dc:creator>haidar_bilal</dc:creator><author>haidar_bilal</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1789160.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=1789160</wfw:commentRss><description>&lt;p&gt;Have a look at the following articles, especially the 3rd link:&lt;/p&gt;
&lt;p&gt;1- &lt;a class="" href="http://www.xefteri.com/articles/show.cfm?id=8" target="_blank"&gt;Downloading Files in ASP.NET&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;2- &lt;a class="" href="http://msdn.microsoft.com/msdnmag/issues/06/09/webdownloads/default.aspx" target="_blank"&gt;Build Smarter ASP.NET File Downloading Into Your Web Applications&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;3- &lt;a style="TEXT-DECORATION:none;" href="http://west-wind.com/WebLog/posts/76293.aspx"&gt;Downloading a File with a Save As Dialog in ASP.NET&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Hope this helps,&lt;br /&gt;Regards&lt;/p&gt;</description></item><item><title>Opening the files in an modless window.</title><link>http://forums.asp.net/thread/1787900.aspx</link><pubDate>Thu, 05 Jul 2007 06:46:54 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1787900</guid><dc:creator>Veera Venkata</dc:creator><author>Veera Venkata</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1787900.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=1787900</wfw:commentRss><description>&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt;I am uploading a file with extension (.xls/.doc/.pdf) in my aspx page with in my application.&lt;/p&gt;
&lt;p&gt;i have one option for downloading the file with download button.when i click the button it opens with a modless window with options(open,save, cancel).&lt;/p&gt;
&lt;p&gt;i have another option for viewing the file with hypelink.when i click the hyperlink it opens with a modless window with options(save, cancel).The file type is shown as unknown file. The required one is&amp;nbsp; the modless window has to get with options(open,save,cancel) &lt;/p&gt;
&lt;p&gt;let me&amp;nbsp;know.&lt;/p&gt;
&lt;p&gt;thanks.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>