Organizational Research By

Surprising Reserch Topic

Experts Most Trusted Topic


getting uploadify working in c sharp


getting uploadify working in c sharp  using -'c#,asp.net,uploadify'

This seemed like it should be easy, but I have had trouble getting it to work. I don't know why it doesn't.  It is just showing the normal file input.

Is there any code / examples to get this working.  I am getting frustrated...

Thank you all.
    

asked Sep 16, 2015 by vimaldas2005
0 votes
15 views



Related Hot Questions



Walkin Jobs Opening



Government Jobs Opening

Then you want to make a Handler (.ashx):

public class Upload : IHttpHandler, IRequiresSessionState
{

    public void ProcessRequest(HttpContext context)
    {
        try
        {
            HttpPostedFile file= context.Request.Files["Filedata"];

            int id = (Int32.Parse(context.Request["id"]));
            string foo = context.Request["foo"];
            file.SaveAs("C:\\" + id.ToString() + foo + file.FileName);

            context.Response.Write("1");
        }
        catch(Exception ex)
        {
            context.Response.Write("0");
        }
    }
}

Post your code and I will take a look at it. Sounds like you are pointing to a resource that doesn't exist. Maybe your 'uploader' property is not pointed to the proper resource or your jquery link is broken (or not there).

answered Sep 16, 2015 by vibhorsingh

...