MVC3 Valums Ajax File Upload

后端 未结 5 1976
野性不改
野性不改 2020-11-30 22:13

I\'m trying to use valums ajax uploader. http://valums.com/ajax-upload/

I have the following on my page:

var button = $(\'#fileUpload\')[0];
var uplo         


        
5条回答
  •  渐次进展
    2020-11-30 22:29

    You should try:

    Stream inputStream = (context.Request.Files.Count > 0) ? context.Request.Files[0].InputStream : context.Request.InputStream;
    

提交回复
热议问题