AjaxControlToolkit Multiple Files Upload

前端之家收集整理的这篇文章主要介绍了AjaxControlToolkit Multiple Files Upload前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。


Web Page:

<ajaxToolkit:ToolkitScriptManager ID="ToolkitScriptManager_Settlement" runat="server">
</ajaxToolkit:ToolkitScriptManager>
<ajaxToolkit:AjaxFileUpload ID="AjaxFileUpload_Settlement"
ThrobberID="myThrobber"
ContextKeys="fred"
AllowedFileTypes="xls,xlsx"
MaximumNumberOfFiles="10"
OnUploadComplete="OnClientUploadComplete"
runat="server" />

Reference


Web.config

<system.web>

<httpHandlers>
<!-- Using CombineCriptsHandler.axd as path of handler -->

<add verb="*" path="CombineScriptsHandler.axd"

type="AjaxControlToolkit.CombineScriptsHandler,

AjaxControlToolkit" />
<add verb="*" path="AjaxFileUploadHandler.axd"
type="AjaxControlToolkit.AjaxFileUploadHandler,
AjaxControlToolkit"/>
</httpHandlers>

</system.web>

system.webServer> <modules runAllManagedModulesForAllRequests="true" /> <validation validateIntegratedModeConfiguration="false" /> <handlers> <!-- Using CombineCriptsHandler as name of handler --> <add name="CombineScriptsHandler" verb="*" path="CombineScriptsHandler.axd" type="AjaxControlToolkit.CombineScriptsHandler,AjaxControlToolkit" /> </handlers> </system.webServer>

原文链接:https://www.f2er.com/ajax/164910.html

猜你在找的Ajax相关文章