Organizational Research By

Surprising Reserch 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 21, 2015 by badhwar.rohit
0 votes
5 views



Related Hot Questions



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 21, 2015 by mtabakade

...