I'm quite new to the asp.net world, so I would appreciate any help or different solutions.
Does anybody know of a way to pass the PostedFile (HttpPostedFile) of a FileUpload via javascript/jquery to a server side method?
Client-side? //how do I pass the FileUpload.PostedFile?
codebehind:
[System.Web.Services.WebMethod]
public static void SaveMyFile(HttpPostedFile myFile)
{
// code to save file here
}
NOTE: I don't want to make use of plugins or any other thirdparty controls.