<?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/"
	>

<channel>
	<title>MorningZ &#187; Programming</title>
	<atom:link href="http://www.morningz.com/category/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.morningz.com</link>
	<description>Stuff I got to say</description>
	<lastBuildDate>Mon, 29 Mar 2010 02:54:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>How to get jQuery 1.4.1-vsdoc</title>
		<link>http://www.morningz.com/2010/how-to-get-jquery-1-4-1-vsdoc/</link>
		<comments>http://www.morningz.com/2010/how-to-get-jquery-1-4-1-vsdoc/#comments</comments>
		<pubDate>Mon, 08 Feb 2010 12:37:24 +0000</pubDate>
		<dc:creator>MorningZ</dc:creator>
				<category><![CDATA[ASPNET]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.morningz.com/?p=58</guid>
		<description><![CDATA[Since this is not available yet on the jQuery home page, here is a way to get the file as it stands today: 1) Download MVC 2 Realease Canditate 2 from here (file name: AspNetMVC2_RC2_VS2008.exe) 2) Copy this file to somewhere &#8220;easy&#8221; to use with a DOS Prompt, I copied AspNetMVC2_RC2_VS2008.exe to &#8220;C:\Temp\MVC2RC2\&#8221; 3) Use [...]]]></description>
			<content:encoded><![CDATA[<p>Since this is not available yet on the jQuery home page, here is a way to get the file as it stands today:</p>
<p>1) Download MVC 2 Realease Canditate 2 from <a title="MS Download Page" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=7aba081a-19b9-44c4-a247-3882c8f749e3&amp;displaylang=en" target="_blank">here</a> (file name: AspNetMVC2_RC2_VS2008.exe)</p>
<p>2) Copy this file to somewhere &#8220;easy&#8221; to use with a DOS Prompt, I copied AspNetMVC2_RC2_VS2008.exe to &#8220;C:\Temp\MVC2RC2\&#8221;</p>
<p>3) Use a program like <a title="7-Zip download page" href="http://www.google.com/url?q=http://www.7-zip.org/download.html&amp;ei=EjtwS6XSKYmXtgfxhuWWBg&amp;sa=X&amp;oi=smap&amp;resnum=1&amp;ct=result&amp;cd=1&amp;ved=0CAwQqwMoADAA&amp;usg=AFQjCNEg-f6eNiSQBD7JoVXFZt8GNB5iVA" target="_blank">7-zip</a> or <a title="WinRar download page" href="http://www.rarlab.com/download.htm" target="_blank">WinRar</a> to extract the .exe to this folder using the &#8220;Extract Here&#8221; option (<a title="Extra All screenshot" href="http://www.morningz.com/wp-content/uploads/2010/02/mvcr2_extract.png" target="_blank">screenshot</a>)</p>
<p>4) Open up a command prompt and type to get to this folder created by the extraction:</p>
<pre>cd "C:\Temp\MVC2RC2\mvctoolsvs2008"</pre>
<p>5) Type this MS DOS command (referenced from <a title="Extracting an MSI file" href="http://thebackroomtech.com/2007/08/23/howto-extract-files-from-a-msi-file-using-the-windows-command-line/" target="_blank">this blog post</a>), when it&#8217;s complete, close the command window:</p>
<pre>msiexec /a vs2008toolsmvc2.msi /qb TARGETDIR=C:\Temp\MVC2RC2\Extract</pre>
<p>6) Back in windows explorer, you should be able to navigate to &#8220;C:\Temp\MVC2RC2\Extract\Microsoft ASP.NET\ASP.NET MVC 2\VisualStudio_PROJ_DIR\CSharp\Web\1033&#8243;, where there is a zip file named &#8220;EmptyMvcWebApplicationProjectTemplatev2.0.cs.zip&#8221;</p>
<p>7) Inside that zip file is <strong>&#8220;scripts/jquery-1.4.1-vsdoc.js&#8221;</strong>&#8230;.</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.morningz.com/2010/how-to-get-jquery-1-4-1-vsdoc/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>jQuery Multiple File Upload Plugin + ASP.NET Example</title>
		<link>http://www.morningz.com/2009/jquery-multiple-file-upload-plugin-aspnet-example/</link>
		<comments>http://www.morningz.com/2009/jquery-multiple-file-upload-plugin-aspnet-example/#comments</comments>
		<pubDate>Thu, 05 Mar 2009 03:43:25 +0000</pubDate>
		<dc:creator>MorningZ</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.morningz.com/?p=5</guid>
		<description><![CDATA[So musing around the internet for an ASP.NET example of using this excellent multiple file plugin, I couldn&#8217;t find a good simple example to work off, so I spent the half hour and did it myself and thought I&#8217;d share&#8230;. So let&#8217;s get right to the point, let me show the code!! 1 2 3 [...]]]></description>
			<content:encoded><![CDATA[<p>So musing around the internet for an ASP.NET example of using this excellent multiple file plugin, I couldn&#8217;t find a good simple example to work off, so I spent the half hour and did it myself and thought I&#8217;d share&#8230;.</p>
<p>So let&#8217;s get right to the point, let me show the code!!</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
</pre></td><td class="code"><pre class="vbnet" style="font-family:monospace;">&lt;%@ Page Language<span style="color: #008000;">=</span><span style="color: #808080;">&quot;VB&quot;</span> %&gt;
&lt;!DOCTYPE html <span style="color: #FF8000;">PUBLIC</span> <span style="color: #808080;">&quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot;</span> 
     <span style="color: #808080;">&quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;</span>&gt;
&nbsp;
&lt;script runat<span style="color: #008000;">=</span><span style="color: #808080;">&quot;server&quot;</span>&gt;
    <span style="color: #0600FF;">Dim</span> AllowedFileTypes <span style="color: #FF8000;">As</span> <span style="color: #008000;">Dictionary</span><span style="color: #000000;">&#40;</span>Of <span style="color: #FF8000;">String</span>, <span style="color: #FF8000;">String</span><span style="color: #000000;">&#41;</span>
    Protected <span style="color: #0600FF;">Sub</span> Page_Init<span style="color: #000000;">&#40;</span><span style="color: #FF8000;">ByVal</span> sender <span style="color: #FF8000;">As</span> <span style="color: #FF0000;">Object</span>, <span style="color: #FF8000;">ByVal</span> e <span style="color: #FF8000;">As</span> System.<span style="color: #0000FF;">EventArgs</span><span style="color: #000000;">&#41;</span>
        AllowedFileTypes <span style="color: #008000;">=</span> <span style="color: #FF8000;">New</span> <span style="color: #008000;">Dictionary</span><span style="color: #000000;">&#40;</span>Of <span style="color: #FF8000;">String</span>, <span style="color: #FF8000;">String</span><span style="color: #000000;">&#41;</span>
        AllowedFileTypes.<span style="color: #0000FF;">Add</span><span style="color: #000000;">&#40;</span><span style="color: #808080;">&quot;gif&quot;</span>, <span style="color: #808080;">&quot;image/gif&quot;</span><span style="color: #000000;">&#41;</span>
        AllowedFileTypes.<span style="color: #0000FF;">Add</span><span style="color: #000000;">&#40;</span><span style="color: #808080;">&quot;jpg&quot;</span>, <span style="color: #808080;">&quot;image/jpeg,image/jpeg,image/pjpeg&quot;</span><span style="color: #000000;">&#41;</span>
        AllowedFileTypes.<span style="color: #0000FF;">Add</span><span style="color: #000000;">&#40;</span><span style="color: #808080;">&quot;png&quot;</span>, <span style="color: #808080;">&quot;image/png&quot;</span><span style="color: #000000;">&#41;</span>
        AllowedFileTypes.<span style="color: #0000FF;">Add</span><span style="color: #000000;">&#40;</span><span style="color: #808080;">&quot;zip&quot;</span>, _
               <span style="color: #808080;">&quot;application/octet-stream,application/x-zip-compressed&quot;</span><span style="color: #000000;">&#41;</span>
        AllowedFileTypes.<span style="color: #0000FF;">Add</span><span style="color: #000000;">&#40;</span><span style="color: #808080;">&quot;rar&quot;</span>, <span style="color: #808080;">&quot;application/octet-stream&quot;</span><span style="color: #000000;">&#41;</span>
        AllowedFileTypes.<span style="color: #0000FF;">Add</span><span style="color: #000000;">&#40;</span><span style="color: #808080;">&quot;html&quot;</span>, <span style="color: #808080;">&quot;text/html&quot;</span><span style="color: #000000;">&#41;</span>
        AllowedFileTypes.<span style="color: #0000FF;">Add</span><span style="color: #000000;">&#40;</span><span style="color: #808080;">&quot;htm&quot;</span>, <span style="color: #808080;">&quot;text/html&quot;</span><span style="color: #000000;">&#41;</span>
        AllowedFileTypes.<span style="color: #0000FF;">Add</span><span style="color: #000000;">&#40;</span><span style="color: #808080;">&quot;txt&quot;</span>, <span style="color: #808080;">&quot;text/plain&quot;</span><span style="color: #000000;">&#41;</span>
        AllowedFileTypes.<span style="color: #0000FF;">Add</span><span style="color: #000000;">&#40;</span><span style="color: #808080;">&quot;js&quot;</span>, <span style="color: #808080;">&quot;text/javascript&quot;</span><span style="color: #000000;">&#41;</span>
        AllowedFileTypes.<span style="color: #0000FF;">Add</span><span style="color: #000000;">&#40;</span><span style="color: #808080;">&quot;css&quot;</span>, <span style="color: #808080;">&quot;text/css&quot;</span><span style="color: #000000;">&#41;</span>
    <span style="color: #0600FF;">End</span> <span style="color: #0600FF;">Sub</span>
&nbsp;
    Protected <span style="color: #0600FF;">Sub</span> Page_Load<span style="color: #000000;">&#40;</span><span style="color: #FF8000;">ByVal</span> sender <span style="color: #FF8000;">As</span> <span style="color: #FF0000;">Object</span>, <span style="color: #FF8000;">ByVal</span> e <span style="color: #FF8000;">As</span> System.<span style="color: #0000FF;">EventArgs</span><span style="color: #000000;">&#41;</span>
        Message.<span style="color: #0000FF;">InnerHtml</span> <span style="color: #008000;">=</span> <span style="color: #FF8000;">String</span>.<span style="color: #FF8000;">Empty</span>
        <span style="color: #0600FF;">Dim</span> FileInputClass <span style="color: #FF8000;">As</span> <span style="color: #FF8000;">String</span> <span style="color: #008000;">=</span> <span style="color: #FF8000;">String</span>.<span style="color: #FF8000;">Empty</span>
        <span style="color: #FF8000;">For</span> <span style="color: #0600FF;">Each</span> FileType <span style="color: #FF8000;">As</span> <span style="color: #FF8000;">String</span> In AllowedFileTypes.<span style="color: #0000FF;">Keys</span>
            FileInputClass <span style="color: #008000;">&amp;=</span> <span style="color: #FF8000;">String</span>.<span style="color: #0000FF;">Concat</span><span style="color: #000000;">&#40;</span>FileType, <span style="color: #808080;">&quot;|&quot;</span><span style="color: #000000;">&#41;</span>
        <span style="color: #FF8000;">Next</span>
        <span style="color: #0600FF;">If</span> <span style="color: #804040;">Not</span> <span style="color: #FF8000;">String</span>.<span style="color: #0000FF;">IsNullOrEmpty</span><span style="color: #000000;">&#40;</span>FileInputClass<span style="color: #000000;">&#41;</span> <span style="color: #FF8000;">Then</span>
            File1.<span style="color: #0000FF;">Attributes</span>.<span style="color: #0000FF;">Add</span><span style="color: #000000;">&#40;</span><span style="color: #808080;">&quot;accept&quot;</span>, _
                  FileInputClass.<span style="color: #0000FF;">Substring</span><span style="color: #000000;">&#40;</span><span style="color: #FF0000;">0</span>, FileInputClass.<span style="color: #0000FF;">Length</span> <span style="color: #008000;">-</span> <span style="color: #FF0000;">1</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>
        <span style="color: #0600FF;">End</span> <span style="color: #0600FF;">If</span>
    <span style="color: #0600FF;">End</span> <span style="color: #0600FF;">Sub</span>
&nbsp;
    Protected <span style="color: #0600FF;">Sub</span> btnUpload_Click<span style="color: #000000;">&#40;</span><span style="color: #FF8000;">ByVal</span> sender <span style="color: #FF8000;">As</span> <span style="color: #FF0000;">Object</span>, <span style="color: #FF8000;">ByVal</span> e <span style="color: #FF8000;">As</span> System.<span style="color: #0000FF;">EventArgs</span><span style="color: #000000;">&#41;</span>
        <span style="color: #008080; font-style: italic;">'Make sure Windows User &quot;NETWORK SERVICE&quot; has write permissions!</span>
        <span style="color: #0600FF;">Dim</span> SaveFolder <span style="color: #FF8000;">As</span> <span style="color: #FF8000;">String</span> <span style="color: #008000;">=</span> <span style="color: #808080;">&quot;C:\Temp\Uploads\&quot;</span>  
&nbsp;
        Message.<span style="color: #0000FF;">InnerHtml</span> <span style="color: #008000;">=</span> <span style="color: #FF8000;">String</span>.<span style="color: #FF8000;">Empty</span>
&nbsp;
        <span style="color: #0600FF;">Dim</span> AllFiles <span style="color: #FF8000;">As</span> HttpFileCollection <span style="color: #008000;">=</span> Request.<span style="color: #008000;">Files</span>
        <span style="color: #0600FF;">Dim</span> ThisFile <span style="color: #FF8000;">As</span> HttpPostedFile, ValidType <span style="color: #FF8000;">As</span> <span style="color: #FF0000;">Boolean</span>, ThisFileName <span style="color: #FF8000;">As</span> <span style="color: #FF8000;">String</span>
        <span style="color: #FF8000;">For</span> i <span style="color: #FF8000;">As</span> Int32 <span style="color: #008000;">=</span> <span style="color: #FF0000;">0</span> <span style="color: #FF8000;">To</span> <span style="color: #000000;">&#40;</span>AllFiles.<span style="color: #0000FF;">Count</span> <span style="color: #008000;">-</span> <span style="color: #FF0000;">1</span><span style="color: #000000;">&#41;</span>
            ThisFile <span style="color: #008000;">=</span> AllFiles.<span style="color: #FF8000;">Get</span><span style="color: #000000;">&#40;</span>i<span style="color: #000000;">&#41;</span>
            <span style="color: #0600FF;">If</span> ThisFile.<span style="color: #0000FF;">ContentLength</span> &gt; <span style="color: #FF0000;">0</span> <span style="color: #FF8000;">Then</span>
                ThisFileName <span style="color: #008000;">=</span> IO.<span style="color: #0000FF;">Path</span>.<span style="color: #0000FF;">GetFileName</span><span style="color: #000000;">&#40;</span>ThisFile.<span style="color: #0000FF;">FileName</span><span style="color: #000000;">&#41;</span>
                ValidType <span style="color: #008000;">=</span> <span style="color: #0600FF;">False</span>
                <span style="color: #FF8000;">For</span> <span style="color: #0600FF;">Each</span> FileTypeList <span style="color: #FF8000;">As</span> <span style="color: #FF8000;">String</span> In AllowedFileTypes.<span style="color: #0000FF;">Values</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>
                    <span style="color: #FF8000;">For</span> <span style="color: #0600FF;">Each</span> FileType <span style="color: #FF8000;">As</span> <span style="color: #FF8000;">String</span> In FileTypeList.<span style="color: #0600FF;">Split</span><span style="color: #000000;">&#40;</span><span style="color: #0600FF;">CChar</span><span style="color: #000000;">&#40;</span><span style="color: #808080;">&quot;,&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>
                        <span style="color: #0600FF;">If</span> FileType.<span style="color: #0000FF;">ToLower</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>.<span style="color: #0000FF;">Equals</span><span style="color: #000000;">&#40;</span>ThisFile.<span style="color: #0000FF;">ContentType</span>.<span style="color: #0000FF;">ToLower</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span> <span style="color: #FF8000;">Then</span>
                            ValidType <span style="color: #008000;">=</span> <span style="color: #0600FF;">True</span>
                            <span style="color: #0600FF;">Exit</span> <span style="color: #FF8000;">For</span>
                        <span style="color: #0600FF;">End</span> <span style="color: #0600FF;">If</span>
                    <span style="color: #FF8000;">Next</span>
                    <span style="color: #0600FF;">If</span> <span style="color: #000000;">&#40;</span>ValidType <span style="color: #008000;">=</span> <span style="color: #0600FF;">True</span><span style="color: #000000;">&#41;</span> <span style="color: #FF8000;">Then</span> <span style="color: #0600FF;">Exit</span> <span style="color: #FF8000;">For</span>
                <span style="color: #FF8000;">Next</span>
                <span style="color: #0600FF;">If</span> ValidType <span style="color: #008000;">=</span> <span style="color: #0600FF;">True</span> <span style="color: #FF8000;">Then</span>
                    <span style="color: #0600FF;">Try</span>
                        ThisFile.<span style="color: #0000FF;">SaveAs</span><span style="color: #000000;">&#40;</span><span style="color: #FF8000;">String</span>.<span style="color: #0000FF;">Concat</span><span style="color: #000000;">&#40;</span>SaveFolder, ThisFileName<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>
                        Message.<span style="color: #0000FF;">InnerHtml</span> <span style="color: #008000;">&amp;=</span> _
                            <span style="color: #FF8000;">String</span>.<span style="color: #0600FF;">Format</span><span style="color: #000000;">&#40;</span><span style="color: #808080;">&quot;{0} saved&lt;br /&gt;&quot;</span>, ThisFileName<span style="color: #000000;">&#41;</span>
                    <span style="color: #0600FF;">Catch</span> ex <span style="color: #FF8000;">As</span> Exception
                        Message.<span style="color: #0000FF;">InnerHtml</span> <span style="color: #008000;">&amp;=</span> _
                            <span style="color: #FF8000;">String</span>.<span style="color: #0600FF;">Format</span><span style="color: #000000;">&#40;</span><span style="color: #808080;">&quot;{0}: &lt;b&gt;{1}&lt;/b&gt;&lt;br /&gt; _
                            ThisFileName, ex.Message)
                    End Try
                Else
                    Message.InnerHtml &amp;= _
                         String.Format(&quot;</span>&lt;b&gt;<span style="color: #000000;">&#123;</span><span style="color: #FF0000;">0</span><span style="color: #000000;">&#125;</span>: Invalid <span style="color: #008000;">File</span> Type of <span style="color: #000000;">&#123;</span><span style="color: #FF0000;">1</span><span style="color: #000000;">&#125;</span>&lt;<span style="color: #008000;">/</span>b&gt;&lt;br <span style="color: #008000;">/</span>&gt;<span style="color: #808080;">&quot;, _
                         ThisFileName, ThisFile.ContentType)
                End If
            End If
&nbsp;
        Next
&nbsp;
    End Sub
&nbsp;
    Protected Sub Page_PreRender(ByVal sender As Object, ByVal e As System.EventArgs)
        Message.Visible = Not String.IsNullOrEmpty(Message.InnerHtml)
    End Sub
&nbsp;
&lt;/script&gt;
&nbsp;
&lt;html xmlns=&quot;</span>http:<span style="color: #008000;">//</span>www.<span style="color: #0000FF;">w3</span>.<span style="color: #0000FF;">org</span><span style="color: #008000;">/</span><span style="color: #FF0000;">1999</span><span style="color: #008000;">/</span>xhtml<span style="color: #808080;">&quot;&gt;
&lt;head runat=&quot;</span>server<span style="color: #808080;">&quot;&gt;
    &lt;title&gt;jQuery Multi Upload with ASP.NET&lt;/title&gt;
    &lt;script src=&quot;</span>http:<span style="color: #008000;">//</span>ajax.<span style="color: #0000FF;">googleapis</span>.<span style="color: #0000FF;">com</span><span style="color: #008000;">/</span>ajax<span style="color: #008000;">/</span>libs<span style="color: #008000;">/</span>jquery<span style="color: #008000;">/</span>1.3.2<span style="color: #008000;">/</span>jquery.<span style="color: #0000FF;">min</span>.<span style="color: #0000FF;">js</span><span style="color: #808080;">&quot; type=&quot;</span>text<span style="color: #008000;">/</span>javascript<span style="color: #808080;">&quot;&gt;&lt;/script&gt;
    &lt;script src=&quot;</span>http:<span style="color: #008000;">//</span>www.<span style="color: #0000FF;">fyneworks</span>.<span style="color: #0000FF;">com</span><span style="color: #008000;">/</span>jquery<span style="color: #008000;">/</span>multiple<span style="color: #008000;">-</span>file<span style="color: #008000;">-</span>upload<span style="color: #008000;">/</span>jquery.<span style="color: #0000FF;">blockUI</span>.<span style="color: #0000FF;">js</span><span style="color: #808080;">&quot; type=&quot;</span>text<span style="color: #008000;">/</span>javascript<span style="color: #808080;">&quot;&gt;&lt;/script&gt;
    &lt;script src=&quot;</span>http:<span style="color: #008000;">//</span>jquery<span style="color: #008000;">-</span>multifile<span style="color: #008000;">-</span>plugin.<span style="color: #0000FF;">googlecode</span>.<span style="color: #0000FF;">com</span><span style="color: #008000;">/</span>svn<span style="color: #008000;">/</span>trunk<span style="color: #008000;">/</span>jquery.<span style="color: #0000FF;">MultiFile</span>.<span style="color: #0000FF;">js</span><span style="color: #808080;">&quot; type=&quot;</span>text<span style="color: #008000;">/</span>javascript<span style="color: #808080;">&quot;&gt;&lt;/script&gt;
    &lt;script src=&quot;</span>http:<span style="color: #008000;">//</span>www.<span style="color: #0000FF;">fyneworks</span>.<span style="color: #0000FF;">com</span><span style="color: #008000;">/</span>jquery<span style="color: #008000;">/</span>multiple<span style="color: #008000;">-</span>file<span style="color: #008000;">-</span>upload<span style="color: #008000;">/</span>jquery.<span style="color: #0000FF;">MetaData</span>.<span style="color: #0000FF;">js</span><span style="color: #808080;">&quot; type=&quot;</span>text<span style="color: #008000;">/</span>javascript<span style="color: #808080;">&quot;&gt;&lt;/script&gt;
    &lt;style type=&quot;</span>text<span style="color: #008000;">/</span>css<span style="color: #808080;">&quot;&gt;
    body {
        font-size: 10px; font-family: Verdana;
    }
    #Link {
        padding-bottom: 10px;
    }
    #Message {
        padding: 4px; background-color: #dadada; border: solid 1px red;
    }
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;
    &lt;form id=&quot;</span>form1<span style="color: #808080;">&quot; runat=&quot;</span>server<span style="color: #808080;">&quot; enctype=&quot;</span>multipart<span style="color: #008000;">/</span>form<span style="color: #008000;">-</span>data<span style="color: #808080;">&quot;&gt;
        &lt;div&gt;
            &lt;div id=&quot;</span>Link<span style="color: #808080;">&quot;&gt;And example of using the jQuery plugin &lt;a href=&quot;</span>http:<span style="color: #008000;">//</span>www.<span style="color: #0000FF;">fyneworks</span>.<span style="color: #0000FF;">com</span><span style="color: #008000;">/</span>jquery<span style="color: #008000;">/</span>multiple<span style="color: #008000;">-</span>file<span style="color: #008000;">-</span>upload<span style="color: #008000;">/</span><span style="color: #808080;">&quot; target=&quot;</span>_blank<span style="color: #808080;">&quot;&gt;&quot;</span>jQuery Multiple <span style="color: #008000;">File</span> Upload Plugin<span style="color: #808080;">&quot;&lt;/a&gt; with ASP.NET&lt;/div&gt;
            &lt;div id=&quot;</span>Message<span style="color: #808080;">&quot; runat=&quot;</span>server<span style="color: #808080;">&quot; visible=&quot;</span><span style="color: #0600FF;">false</span><span style="color: #808080;">&quot;&gt;&lt;/div&gt;
            &lt;div&gt;&lt;input id=&quot;</span>File1<span style="color: #808080;">&quot; type=&quot;</span><span style="color: #008000;">file</span><span style="color: #808080;">&quot; name=&quot;</span>File1<span style="color: #808080;">&quot; runat=&quot;</span>server<span style="color: #808080;">&quot; class=&quot;</span>multi<span style="color: #808080;">&quot; /&gt;&lt;/div&gt;
            &lt;asp:Button ID=&quot;</span>btnUpload<span style="color: #808080;">&quot; runat=&quot;</span>server<span style="color: #808080;">&quot; Text=&quot;</span>Upload<span style="color: #808080;">&quot; OnClick=&quot;</span>btnUpload_Click<span style="color: #808080;">&quot; /&gt;
        &lt;/div&gt;
    &lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;</span></pre></td></tr></table></div>

<p>The MIME stuff is tricky as different browsers use different types for certain file types, for example, zip files uploaded via FireFox are &#8220;octet-stream&#8221; and IE uses &#8220;application/x-zip-compressed&#8221;&#8230;</p>
<p>Anyways, hopefully this helps give you an idea of what to start with if you want to give your site users the ability to upload multiple files at once in your ASP.NET application</p>
]]></content:encoded>
			<wfw:commentRss>http://www.morningz.com/2009/jquery-multiple-file-upload-plugin-aspnet-example/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
	</channel>
</rss>
