[英]I need to get the value of an asp.net fileupload into Ajax parameter
I need to get the value of an asp.net fileupload into Ajax parameter and i'm trying to do like this: 我需要将asp.net fileupload的值转换为Ajax参数,而我正在尝试这样做:
$('#<%=fileUpload.ClientID%>').val()
//and in the WebMethod
[WebMethod]
public static List<AjaxCategory> AddCategory(FileUpload categoryImage)
I don't know if it is possible or not, but like this is not working 我不知道是否可能,但是这样不起作用
Async file upload requires some additional setup. 异步文件上传需要一些其他设置。 Look to using a utility like:
希望使用类似以下的实用程序:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.