<?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: File Uploader in ASP.NET and ASP.NET MVC</title>
	<atom:link href="http://www.blog.valenticabd.com/2009/01/23/file-uploader-in-aspnet-and-aspnet-mvc.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.blog.valenticabd.com/2009/01/23/file-uploader-in-aspnet-and-aspnet-mvc.html</link>
	<description>My Feelings for You</description>
	<lastBuildDate>Sat, 21 Aug 2010 13:39:54 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jahedur Rahman</title>
		<link>http://www.blog.valenticabd.com/2009/01/23/file-uploader-in-aspnet-and-aspnet-mvc.html/comment-page-1#comment-1577</link>
		<dc:creator>Jahedur Rahman</dc:creator>
		<pubDate>Wed, 01 Jul 2009 04:59:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.blog.valenticabd.com/?p=63#comment-1577</guid>
		<description>@Mau As I mentioned this class is not dependent on MVC. You can try the version 3.5 as well as version 2.0 of the class. Hope it will work in castle mono rail (although I&#039;ve not used that :( ). Thanks.</description>
		<content:encoded><![CDATA[<p>@Mau As I mentioned this class is not dependent on MVC. You can try the version 3.5 as well as version 2.0 of the class. Hope it will work in castle mono rail (although I&#8217;ve not used that <img src='http://www.blog.valenticabd.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  ). Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jahedur Rahman</title>
		<link>http://www.blog.valenticabd.com/2009/01/23/file-uploader-in-aspnet-and-aspnet-mvc.html/comment-page-1#comment-1576</link>
		<dc:creator>Jahedur Rahman</dc:creator>
		<pubDate>Wed, 01 Jul 2009 04:57:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.blog.valenticabd.com/?p=63#comment-1576</guid>
		<description>@Hasan Thanks for notifying the issue. It&#039;s the problem of the plugin &quot;post2pdf&quot; that I&#039;ve been using. May be something doesn&#039;t supported by the plugin; so causing error.</description>
		<content:encoded><![CDATA[<p>@Hasan Thanks for notifying the issue. It&#8217;s the problem of the plugin &#8220;post2pdf&#8221; that I&#8217;ve been using. May be something doesn&#8217;t supported by the plugin; so causing error.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mau</title>
		<link>http://www.blog.valenticabd.com/2009/01/23/file-uploader-in-aspnet-and-aspnet-mvc.html/comment-page-1#comment-1410</link>
		<dc:creator>Mau</dc:creator>
		<pubDate>Tue, 16 Jun 2009 15:47:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.blog.valenticabd.com/?p=63#comment-1410</guid>
		<description>Just an update... i could be able to use the class on mono rails... =)

But i have problems trying to upload more than 1 file :(</description>
		<content:encoded><![CDATA[<p>Just an update&#8230; i could be able to use the class on mono rails&#8230; =)</p>
<p>But i have problems trying to upload more than 1 file <img src='http://www.blog.valenticabd.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mau</title>
		<link>http://www.blog.valenticabd.com/2009/01/23/file-uploader-in-aspnet-and-aspnet-mvc.html/comment-page-1#comment-1408</link>
		<dc:creator>Mau</dc:creator>
		<pubDate>Mon, 15 Jun 2009 18:49:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.blog.valenticabd.com/?p=63#comment-1408</guid>
		<description>Hello there! pretty good work man!

I&#039;m trying to do the same with MVC but in castle mono rail. The solution you provide could be able to work on vs 05 with mono rail?

Thanx for your work!</description>
		<content:encoded><![CDATA[<p>Hello there! pretty good work man!</p>
<p>I&#8217;m trying to do the same with MVC but in castle mono rail. The solution you provide could be able to work on vs 05 with mono rail?</p>
<p>Thanx for your work!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hasan</title>
		<link>http://www.blog.valenticabd.com/2009/01/23/file-uploader-in-aspnet-and-aspnet-mvc.html/comment-page-1#comment-1392</link>
		<dc:creator>Hasan</dc:creator>
		<pubDate>Fri, 12 Jun 2009 10:13:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.blog.valenticabd.com/?p=63#comment-1392</guid>
		<description>Problem at pdf links : http://www.blog.valenticabd.com/wp-content/plugins/post2pdf/generate.php?category=11&amp;name=.Net</description>
		<content:encoded><![CDATA[<p>Problem at pdf links : <a href="http://www.blog.valenticabd.com/wp-content/plugins/post2pdf/generate.php?category=11&amp;name=.Net" rel="nofollow">http://www.blog.valenticabd.com/wp-content/plugins/post2pdf/generate.php?category=11&amp;name=.Net</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: irtiza104</title>
		<link>http://www.blog.valenticabd.com/2009/01/23/file-uploader-in-aspnet-and-aspnet-mvc.html/comment-page-1#comment-1361</link>
		<dc:creator>irtiza104</dc:creator>
		<pubDate>Thu, 04 Jun 2009 13:42:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.blog.valenticabd.com/?p=63#comment-1361</guid>
		<description>Hi, how are you? i found you through twitter. i&#039;m also from bangladesh. :)

this HTML things appear very hard to understand to me. so, i wouldnt dare to comment on this issue.

best of luck.</description>
		<content:encoded><![CDATA[<p>Hi, how are you? i found you through twitter. i&#8217;m also from bangladesh. <img src='http://www.blog.valenticabd.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>this HTML things appear very hard to understand to me. so, i wouldnt dare to comment on this issue.</p>
<p>best of luck.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hasan</title>
		<link>http://www.blog.valenticabd.com/2009/01/23/file-uploader-in-aspnet-and-aspnet-mvc.html/comment-page-1#comment-1323</link>
		<dc:creator>Hasan</dc:creator>
		<pubDate>Fri, 29 May 2009 19:22:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.blog.valenticabd.com/?p=63#comment-1323</guid>
		<description>Okay, that was the problem, the name of the control. Thanks a lot and sory for keeping you busy for a while :)</description>
		<content:encoded><![CDATA[<p>Okay, that was the problem, the name of the control. Thanks a lot and sory for keeping you busy for a while <img src='http://www.blog.valenticabd.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jahedur Rahman</title>
		<link>http://www.blog.valenticabd.com/2009/01/23/file-uploader-in-aspnet-and-aspnet-mvc.html/comment-page-1#comment-1317</link>
		<dc:creator>Jahedur Rahman</dc:creator>
		<pubDate>Tue, 26 May 2009 05:03:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.blog.valenticabd.com/?p=63#comment-1317</guid>
		<description>@Hasan, I think you are using &lt;code&gt;uploader.DoUpload(&quot;MyFile&quot;)&lt;/code&gt; to  upload your file, where &quot;MyFile&quot; is the ID of the FileUpload control i.e. 
&lt;code&gt;&lt;asp:FileUpload ID=&quot;MyFile&quot; runat=&quot;server&quot; /&gt;&lt;/code&gt;

But in case of master page and content place holder, you know ASP.NET automatically change the ID of the control as, for example: &lt;code&gt;ctl00$ContentPlaceHolder1$MyFile&lt;/code&gt;.

So to ensure the class working you have to use &lt;code&gt;uploader.DoUpload(&quot;ctl00$ContentPlaceHolder1$MyFile&quot;)&lt;/code&gt;. In debug mode if you try quick watch for &lt;code&gt;Request.Files[&quot;ctl00$ContentPlaceHolder1$MyFile&quot;]&lt;/code&gt; you will see the what&#039;s happening.

Hope this will help. Let me know. Thanks.</description>
		<content:encoded><![CDATA[<p>@Hasan, I think you are using <code>uploader.DoUpload("MyFile")</code> to  upload your file, where &#8220;MyFile&#8221; is the ID of the FileUpload control i.e.<br />
<code>&lt;asp:FileUpload ID="MyFile" runat="server" /&gt;</code></p>
<p>But in case of master page and content place holder, you know ASP.NET automatically change the ID of the control as, for example: <code>ctl00$ContentPlaceHolder1$MyFile</code>.</p>
<p>So to ensure the class working you have to use <code>uploader.DoUpload("ctl00$ContentPlaceHolder1$MyFile")</code>. In debug mode if you try quick watch for <code>Request.Files["ctl00$ContentPlaceHolder1$MyFile"]</code> you will see the what&#8217;s happening.</p>
<p>Hope this will help. Let me know. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hasan</title>
		<link>http://www.blog.valenticabd.com/2009/01/23/file-uploader-in-aspnet-and-aspnet-mvc.html/comment-page-1#comment-1313</link>
		<dc:creator>Hasan</dc:creator>
		<pubDate>Mon, 25 May 2009 06:35:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.blog.valenticabd.com/?p=63#comment-1313</guid>
		<description>I&#039;ve changed the web.config but still the same error (no error, just &quot;Failed&quot;). My Upload directory has write permission. As I said, your example works errorless within same web site solution but not with a master page. I tried to change Form.Enctype = &quot;multipart/form-data&quot; on page_load but nothing changes.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve changed the web.config but still the same error (no error, just &#8220;Failed&#8221;). My Upload directory has write permission. As I said, your example works errorless within same web site solution but not with a master page. I tried to change Form.Enctype = &#8220;multipart/form-data&#8221; on page_load but nothing changes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jahedur Rahman</title>
		<link>http://www.blog.valenticabd.com/2009/01/23/file-uploader-in-aspnet-and-aspnet-mvc.html/comment-page-1#comment-1312</link>
		<dc:creator>Jahedur Rahman</dc:creator>
		<pubDate>Mon, 25 May 2009 05:42:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.blog.valenticabd.com/?p=63#comment-1312</guid>
		<description>@Hasan, You may be trying to upload a file which size exceeds the default maximum limit. For uploading large file put

&lt;code&gt;&lt;httpRuntime maxRequestLength=&quot;105454&quot; executionTimeout=&quot;240&quot; /&gt;&lt;/code&gt;

in your &lt;code&gt;web.config&lt;/code&gt; file under &lt;code&gt;&lt;system.web&gt;&lt;/code&gt;. You can change maxRequestLength and executionTimeout.</description>
		<content:encoded><![CDATA[<p>@Hasan, You may be trying to upload a file which size exceeds the default maximum limit. For uploading large file put</p>
<p><code>&lt;httpRuntime maxRequestLength="105454" executionTimeout="240" /&gt;</code></p>
<p>in your <code>web.config</code> file under <code>&lt;system.web&gt;</code>. You can change maxRequestLength and executionTimeout.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
