ASP.NET - How to pass fileupload control in jquery ajax post method

Asked By Samarth Patel on 06-May-13 08:37 AM
Hello I have one file upload control.

Now i want to pass it through ajax using jquery .

 I am passing as below

 $.ajax({
      type: "POST",
      cache: false,
      url: loadUrl,
      dataType: "xml",
      data: ({
  file: $("#ctl00_ContentPlaceHolder1_flpWorkorderURL").prop("files")[0]
      }),

But  i am not getting it from my controller in get method .

i am getting null value in request.get method .

Reply me as soon as possible or suggest other option for upload file using jquery or javascript

Thanks in advance