亲爱的先生,
我正在使用适用于localhost的ajax上传器(CuteWebUI:UploadAttachments)。当我将此代码发布到无效的在线服务器时。我在.net 3.5版本中使用此代码。这是一个多图像上传器。我正和你分享代码
页面指示
@ Register TagPrefix =CuteWebUINamespace =CuteWebUIAssembly =CuteWebUI.AjaxUploader%>
数据控制
CuteWebUI:UploadAttachments ShowCheckBoxes =falseShowRemoveButtons =falseShowFileIcons =false
ID =uploader1runat =serverOnFileUploaded =UploadAttachments1_FileUploaded>
< ValidateOption EnableMimetypeChecking =TrueAllowedFileMimeTypes =>< / ValidateOption>
< / CuteWebUI :UploadAttachments>
在Web配置中
< httpModules>
< add name =CuteWebUI.UploadModuletype =CuteWebUI.UploadModule,CuteWebUI.AjaxUploader/>
< / httpModules>
问候,
Bharat Gupta 解决方案
Dear Sir,
I am using ajax uploader (CuteWebUI:UploadAttachments) that is proper working on localhost. when i post this code to online server that is not working. i am using this code in .net 3.5 version. this is a multiimage uploader. i am sharing code with you
Page Directives
@ Register TagPrefix="CuteWebUI" Namespace="CuteWebUI" Assembly="CuteWebUI.AjaxUploader" %>
Data Control
CuteWebUI:UploadAttachments ShowCheckBoxes="false" ShowRemoveButtons="false" ShowFileIcons="false"
ID="uploader1" runat="server" OnFileUploaded="UploadAttachments1_FileUploaded">
<ValidateOption EnableMimetypeChecking="True" AllowedFileMimeTypes=""></ValidateOption>
</CuteWebUI:UploadAttachments>
In Web Config
<httpModules>
<add name="CuteWebUI.UploadModule" type="CuteWebUI.UploadModule,CuteWebUI.AjaxUploader"/>
</httpModules>
Regards,
Bharat Gupta
这篇关于ajax uploader(CuteWebUI:UploadAttachments)不能正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!