Hi Paul,
I tested the AjaxUploader as your same config and page code under IE9,Chrome,Firefox
My IIS version is IIS 7
it works fine.
Can you tell me your application environment about IIS and Asp.net version?
My test code is shown below
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head runat="server">
- <title></title>
- <script id="script" type="text/javascript">
- function Upload() {
- var uploadobj = document.getElementById('<%=Uploader1.ClientID %>');
- var count = uploadobj.getqueuecount();
- if (uploadobj.getqueuecount() > 0) {
- uploadobj.startupload();
- }
- }
-
-
- function CuteWebUI_AjaxUploader_OnQueueUI(list) {
- //return false can hide the queue table.
- return false;
- }
- function CuteWebUI_AjaxUploader_OnError(msg) {
- alert("global error:" + msg);
- return false;
- }
- function CuteWebUI_AjaxUploader_OnTaskError(obj, msg, reason) {
- alert("file error:" + obj.FileName + " , " + msg);
- return false;
- }
- </script>
- </head>
- <body>
- <form id="form1" runat="server">
- <asp:ScriptManager ID="ScriptManager1" runat="server">
- </asp:ScriptManager>
- <div>
- <asp:UpdatePanel ID="UpdatePanel1" runat="server">
- <ContentTemplate>
- <asp:Button ID="UpdateButton" runat="server" OnClientClick="Upload()" Text="Upload" />
- <CuteWebUI:Uploader runat="server" ID="Uploader1" ManualStartUpload="true" />
- </ContentTemplate>
- </asp:UpdatePanel>
- </div>
- </form>
- </body>
- </html>
- <appSettings>
- <add key="CuteWebUI.AjaxUploader.TempDirectory" value="~/Temp"/>
- </appSettings>
-
- <system.web>
- <httpModules>
- <add name="CuteWebUI.UploadModule" type="CuteWebUI.UploadModule,CuteWebUI.AjaxUploader"/>
- </httpModules>
- </system.web>
-
-
- <system.webServer>
- <modules>
- <remove name="CuteWebUI.UploadModule" />
-
- <add name="CuteWebUI.UploadModule" type="CuteWebUI.UploadModule,CuteWebUI.AjaxUploader"/>
- </modules>
- </system.webServer>
Please download the latest version of AjaxUploader and ref the 'Framework 2.0-Csharp-MicrosoftAjax' demo.
Regards,
Jeff