It looks like you're new here. If you want to get involved, click one of these buttons!

<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<script type="text/javascript">
$(document).ready(function() {
$("#<%=FileUpload1.ClientID%>").uploadify({
'uploader': 'Uploader/uploadify.swf',
'cancelImg': 'Uploader/images/cancel.png',
'script': 'Upload.ashx',
'multi': true,
'auto': false,
});
});
</script>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<div id="fileQueue">
</div>
</ContentTemplate>
</asp:UpdatePanel>
<asp:FileUpload ID="FileUpload1" runat="server" />
<a href="javascript:$('#<%=FileUpload1.ClientID%>').uploadifyUpload()">Start Upload</a>
<a href="javascript:$('#<%=FileUpload1.ClientID%>').uploadifyClearQueue()">Clear</a>
public void ProcessRequest(HttpContext context)
{
//context.Response.ContentType = "text/plain";
context.Response.Expires = -1;
try
{
HttpPostedFile postedFile = context.Request.Files["Filedata"];
string savepath = "";
string tempPath = "";
tempPath = System.Configuration.ConfigurationManager.AppSettings["FolderPath"];
savepath = context.Server.MapPath(tempPath);
savepath +=@"\file";
string filename = postedFile.FileName;
if (!Directory.Exists(savepath))
Directory.CreateDirectory(savepath);
postedFile.SaveAs(savepath + @"\" + filename);
context.Response.Write(filename); //<---- is it error here????
context.Response.StatusCode = 200;
}
catch (Exception ex)
{
context.Response.Write("Error: " + ex.Message);
}
}