I want to use the Ajax-Upload script to upload multiple images. The kicker is I have to use Asp.net webforms, the way I’ve been doing ajax has been to have a simple page web method like so.
[WebMethod()]
public static string Method(string param)
{
return "Hello World";
}
I am running into trouble figuring out how to upload an image without using the webforms FileUpload control so I can upload files asynchronously. I must be using the wrong search terms because I cannot find another example of someone doing this inside of webforms.
EDIT: To be more specific I am looking for help with the server side. The plugin I linked to handles all of the client side stuff. I am currently looking into writing a customer handler…
I’d prefer to avoid using update panel controls(like the AjaxToolkit) and just stick to the plugin if thats possible.
ANSWER:
What I did was wrote an Image Upload handler script that is pretty basic but it should get the job done. Here it is.
And this works with the Ajax-Upload script I linked to earlier. Thanks