uplodify uploads files one by one
<p>I use uplodify 3.1 to upload multiple files in asp.net. it allows to select mutiple files and uploads them. but my probem is that i have to click upload button for each item. (aouto attribute is set to false) 
here is my code: </p>

<pre><code>&lt;head&gt;
&lt;script src="Scripts/jquery.js" type="text/javascript"&gt;&lt;/script&gt;
    &lt;script src="Scripts/jquery.uploadify-3.1.js" type="text/javascript"&gt;&lt;/script&gt;
    &lt;script type="text/javascript"&gt;
        $(window).load(
    function () {
        $("#&lt;%=FileUpload1.ClientID%&gt;").uploadify({
            'swf': 'Scripts/uploadify.swf',
            'uploader': 'Upload.ashx',
            'fileTypeDesc': 'Image Files',
            'fileTypeExts': '*.jpg;*.jpeg;*.gif;*.png',
            'multi': true,
            'formData': { 'galerisi': '&lt;%=Session["galeriId"]%&gt;' },
            'auto': false,
            'buttonImage': 'Styles/images/btnYorumEkle.png',
            'buttonText': 'Dosya seç'

        });
    }
);
    &lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
    &lt;form id="form1" runat="server"&gt;
    &lt;div&gt;
        &lt;div style="float: left;"&gt;
            &lt;asp:FileUpload ID="FileUpload1" runat="server" /&gt;
        &lt;/div&gt;
        &lt;div style="left: 136px; position: absolute; top: 18px;"&gt;
            &lt;a class="blueButton" href="javascript:$('#&lt;%=FileUpload1.ClientID%&gt;').uploadify('upload')"&gt;
                Yükle&lt;/a&gt;
        &lt;/div&gt;
        &lt;div style="left: 205px; position: absolute; top: 18px;"&gt;
            &lt;a class="blueButton" href="javascript:$('#&lt;%=FileUpload1.ClientID%&gt;').fileUploadClearQueue()"&gt;
                Temizle&lt;/a&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;/form&gt;
&lt;/body&gt;
</code></pre>

<p>and the code in the ashx file:</p>

<pre><code>&lt;%@ WebHandler Language="C#" Class="Upload" %&gt;

using System;
using System.Web;
using System.IO;

using System.Collections.Generic;
using System.Web.SessionState;
public class Upload : IHttpHandler, System.Web.SessionState.IRequiresSessionState
{


    galeriIslemleri galeriler = new galeriIslemleri();
    Tools tollar = new Tools();


    public void ProcessRequest(HttpContext context)
    {

        context.Response.ContentType = "text/plain";
        context.Response.Expires = -1;


        try
        {
                string galeriKlasoru = context.Request["galerisi"].ToString();

                var db = Tools.DBBaglanti();
                HttpPostedFile postedFile = context.Request.Files["Filedata"];

                string savepath = "";
                string tempPath = "";
                tempPath = "images/galeriler/" + galeriKlasoru;

                savepath = context.Server.MapPath(tempPath);

                string filename = postedFile.FileName;
                if (!Directory.Exists(savepath))
                    Directory.CreateDirectory(savepath);

                postedFile.SaveAs(savepath + @"\" + filename);
                context.Response.Write(tempPath + "/" + filename);
                context.Response.StatusCode = 200;


                galeriResimleri resimler = new galeriResimleri();
                resimler.galeriId = Convert.ToInt32(galeriKlasoru);
                resimler.resim = filename;
                db.galeriResimleris.InsertOnSubmit(resimler);
                db.SubmitChanges();

        }
        catch (Exception ex)
        {
            context.Response.Write("Error: " + ex.Message);
        }


    }

    public bool IsReusable
    {
        get
        {
            return false;
        }
    }
}
</code></pre>

<p>please help.</p>
