微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

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>

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐