<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	
	xmlns:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	>

<channel>
	<title>AjaxFileUpload control &#8211; Amazing Things</title>
	<atom:link href="https://www.amazingthings.in/tag/ajaxfileupload-control/feed" rel="self" type="application/rss+xml" />
	<link>https://www.amazingthings.in</link>
	<description>Amazing Things is for Everyone. Everything which is amazing. Amazing wallpapers, entertainment, creativity, technology updates &#38; knowledge.</description>
	<lastBuildDate>Wed, 09 Jan 2013 08:55:40 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.5.4</generator>

<image>
	<url>https://i0.wp.com/www.amazingthings.in/wp-content/uploads/2017/12/AmazingThings.png?fit=32%2C32&#038;ssl=1</url>
	<title>AjaxFileUpload control &#8211; Amazing Things</title>
	<link>https://www.amazingthings.in</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">44718163</site>	<item>
		<title>Use AjaxFileUpload Control in Visual Studio 2012</title>
		<link>https://www.amazingthings.in/use-ajaxfileupload-control-in-visual.html</link>
					<comments>https://www.amazingthings.in/use-ajaxfileupload-control-in-visual.html#respond</comments>
		
		<dc:creator><![CDATA[Vinayak Bamane]]></dc:creator>
		<pubDate>Mon, 07 Jan 2013 11:21:26 +0000</pubDate>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[AjaxFileUpload control]]></category>
		<category><![CDATA[How to use AjaxFileUpload control in visual studio 2012]]></category>
		<guid isPermaLink="false">http://www.amazingthings.in/?p=2140</guid>

					<description><![CDATA[<p>While developing a project you might come across a situation where you need to upload multiple files at a time. If you working on Asp.net project and you come across similar situation no need to worry you have nice options to accomplish this task. We can make use of AjaxFileUpload Control. It offers several features. [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.amazingthings.in/use-ajaxfileupload-control-in-visual.html">Use AjaxFileUpload Control in Visual Studio 2012</a> appeared first on <a rel="nofollow" href="https://www.amazingthings.in">Amazing Things</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p style="text-align: justify;">
<p style="text-align: justify;"><span style="font-family: georgia, palatino; font-size: medium;" data-mce-mark="1">While developing a project you might come across a situation where you need to upload multiple files at a time. If you working on Asp.net project and you come across similar situation no need to worry you have nice options to accomplish this task.</span></p>
<p style="text-align: justify;"><span style="font-family: georgia, palatino; font-size: medium;" data-mce-mark="1">We can make use of <strong><span style="color: #99cc00;" data-mce-mark="1">AjaxFileUpload</span></strong> Control. It offers several features.</span></p>
<p style="text-align: justify;"><span style="font-family: georgia, palatino; font-size: medium;" data-mce-mark="1"><strong>1. Upload multiple files at a time.</strong></span></p>
<p style="text-align: justify;"><span style="font-family: georgia, palatino; font-size: medium;" data-mce-mark="1"><strong>2. Progress bar to display file upload status.</strong></span></p>
<p style="text-align: justify;"><span style="font-family: georgia, palatino; font-size: medium;" data-mce-mark="1"><strong>3. Drag and drop facility.</strong></span></p>
<p style="text-align: justify;"><span style="font-family: georgia, palatino; font-size: medium;" data-mce-mark="1">In order to use AjaxFileUpload control first you need to add AjaxControlToolkit to your application, wanted to learn how to do it? Please refer my previous post on <a title="AjaxControlToolkit" href="http://www.amazingthings.in/2012/12/add-ajaxcontroltoolkit-to-visual-studio-2012.html" target="_blank">How to add AjaxControlToolkit to Visual Studio 2012</a>.</span></p>
<p style="text-align: justify;"><span style="font-family: georgia, palatino; font-size: medium;">The best part of this control is you can control which file types you want to upload. You can make use of <strong style="font-family: georgia, palatino; font-size: medium;">AllowedFileTypes</strong> property. You can simply allow different file types&nbsp;separated&nbsp;by commas in <strong style="font-family: georgia, palatino; font-size: medium;">AllowedFileTypes</strong> control.</span></p>
<p style="text-align: justify;"><span style="font-family: georgia, palatino; font-size: medium;"><a href="http://www.amazingthings.in/2013/01/use-ajaxfileupload-control-in-visual-studio-2012.html/ajaxupload" rel="attachment wp-att-2172"><img decoding="async" data-attachment-id="2172" data-permalink="https://www.amazingthings.in/use-ajaxfileupload-control-in-visual.html/ajaxupload" data-orig-file="https://i0.wp.com/www.amazingthings.in/wp-content/uploads/2013/01/AjaxUpload.gif?fit=%2C&amp;ssl=1" data-orig-size="" data-comments-opened="1" data-image-meta="[]" data-image-title="AjaxUpload" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/www.amazingthings.in/wp-content/uploads/2013/01/AjaxUpload.gif?fit=300%2C300&amp;ssl=1" data-large-file="https://i0.wp.com/www.amazingthings.in/wp-content/uploads/2013/01/AjaxUpload.gif?fit=1024%2C1024&amp;ssl=1" class="alignnone size-full wp-image-2172" alt="AjaxUpload" src="https://i0.wp.com/www.amazingthings.in/wp-content/uploads/2013/01/AjaxUpload.gif" data-recalc-dims="1" /></a></span></p>
<p style="text-align: justify;"><span style="font-family: georgia, palatino; font-size: medium;">&nbsp;</span></p>
<p style="text-align: justify;"><span style="font-family: georgia, palatino; font-size: medium;">Using this Control is very simple you just need &nbsp;to drag this control from ToolBox and drop it on your .aspx page, add directive to <strong>register assembly</strong> and <strong>add script manager</strong> and you are all set to use <strong>AjaxFileUpload</strong> control. Registering assembly and adding script manager shown in code given below.</span></p>
<p style="text-align: justify;"><span style="font-family: georgia, palatino; font-size: medium;"><code lang="asp">//&nbsp;Register&nbsp;Assembly<br />
< %@&nbsp;Register&nbsp;assembly="AjaxControlToolkit"&nbsp;namespace="AjaxControlToolkit"&nbsp;tagprefix="asp"&nbsp;%></p>
<p>//&nbsp;Add&nbsp;Script&nbsp;Manager<br />
<asp:scriptmanager &nbsp;Id="Scriptmanager1"&nbsp;runat="server"></asp:scriptmanager></p>
<p>//&nbsp;AjaxFileUpload&nbsp;Control<br />
<asp:ajaxfileupload &nbsp;ID="AjaxFileUpload1"&nbsp;runat="server"></asp:ajaxfileupload></code></span></p>
<p style="text-align: justify;"><span style="font-family: georgia, palatino; font-size: medium;"><strong>AjaxFileUpload&nbsp;</strong>Control Properties :</span></p>
<ul style="text-align: justify;">
<li><span style="font-family: georgia, palatino; font-size: medium;"><strong>ThrobberID</strong>&nbsp;&#8211; The ID of a control that is shown while the file is uploading. The throbber&nbsp;image is displayed for browsers that do not support the HTML5 File API.</span></li>
<li><span style="font-family: georgia, palatino; font-size: medium;"><strong>ContextKeys</strong>&nbsp;&#8211; A dictionary that can be used to pass information to the server when a file is uploaded.</span></li>
<li><span style="font-family: georgia, palatino; font-size: medium;"><strong>MaximumNumberOfFiles</strong>&nbsp;&#8211; This property enables you to limit the number of files that a user can add to the upload queue.</span></li>
<li><span style="font-family: georgia, palatino; font-size: medium;"><strong>AllowedFileTypes</strong>&nbsp;&#8211; This property enables you to restrict the types of files that can be uploaded. You can assign a comma delimited list of file extensions to this property.</span></li>
<li><span style="font-family: georgia, palatino; font-size: medium;"><strong>IsInFileUploadPostBack</strong>&nbsp;&#8211; This property has the value true when a page is created in response to an AjaxFileUpload asynchronous postback.</span></li>
<li><span style="font-family: georgia, palatino; font-size: medium;"><strong>OnClientUploadComplete</strong>&nbsp;&#8211; The name of a JavaScript function executed in the client-side after a file is uploaded successfully.</span></li>
<li><span style="font-family: georgia, palatino; font-size: medium;"><strong>OnClientUploadError</strong>&nbsp;&#8211; The name of a JavaScript function executed in the client-side if the file upload failed.</span></li>
</ul>
<p>The post <a rel="nofollow" href="https://www.amazingthings.in/use-ajaxfileupload-control-in-visual.html">Use AjaxFileUpload Control in Visual Studio 2012</a> appeared first on <a rel="nofollow" href="https://www.amazingthings.in">Amazing Things</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.amazingthings.in/use-ajaxfileupload-control-in-visual.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2140</post-id>	</item>
	</channel>
</rss>
