<asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
</asp:ToolkitScriptManager>
<asp:AjaxFileUpload ID="AjaxFileUpload1" Mode="Auto" runat="server" ThrobberID="myThrobber"
ContextKeys="fred" OnUploadComplete="AjaxFileUpload1_UploadComplete" AllowedFileTypes="jpg,jpeg"
MaximumNumberOfFiles="1" />
<asp:Image ID="MyThrobber" ImageUrl="~/Images/select2.png" Style="display: None"
runat="server" />
我正在使用此功能,但是当我上传文件时出现错误,文件未上传
答案 0 :(得分:0)
检查您的网络配置。
阅读此页面并确保所有设置都正确: http://www.asp.net/ajaxlibrary/ajaxcontroltoolkitsamplesite/ajaxfileupload/ajaxfileupload.aspx