Uploader not working in Firefox 3.6.6 at all

Last post 04-18-2011, 11:15 PM by Kenneth. 16 replies.
Sort Posts: Previous Next
  •  06-28-2010, 1:37 AM 62033

    Uploader not working in Firefox 3.6.6 at all

    Hi,
     
    I am using latest version of AjaxUploader for VB.NET (versionFramework 2.0-VB), and since last updates of Firefox uploader do not work at all. I have found in other posts that it might be connected with Silverlight 4.0 plugin etc., and that is fixed in since Firefox 3.6.4.
     
    Unfortunatelly, this is not true. I have 3.6.6, Silverlight 3.0 plugin, and uploader does not work. Button, which select files, is no clickable. In other browsers it works without any problem. I am using this code in .aspx file:
     
            <CuteWebUI:UploadAttachments runat="server"
                                            ID="cwFilesUploader"
                                            CancelButtonID="buttonCancelUpload"
                                            InsertButtonID="buttonChooseFiles"
                                            ManualStartUpload="true"
                                            ProgressPanelWidth="600">                                        
                                            
            </CuteWebUI:UploadAttachments>
     

    David Skowronek
  •  06-28-2010, 5:18 PM 62050 in reply to 62033

    Re: Uploader not working in Firefox 3.6.6 at all

    Which os are you using? If you upgrade to silverlight 4.x, does it work fine?
     
    Regards,
    Eric
  •  06-29-2010, 4:11 AM 62062 in reply to 62033

    Re: Uploader not working in Firefox 3.6.6 at all

    Hi,
     
    Can you post all code ?
     
    How about do not use InsertButtonID property ?
     
    Regards,
    Terry
  •  06-30-2010, 3:16 AM 62116 in reply to 62062

    Re: Uploader not working in Firefox 3.6.6 at all

    Hi all,
     
    My client is Win 7 Enterprise edition, application running on Windows 2003 with ASP 2.0 (webhosting).
    It used to work fine for a long time, but not working since last updates.
     
    Your suggestion to updgrade Silverlight to 4.0 version might a workaround for me (if it will help) but not for users running my application. I cannot force them to do it.
     
    I tryied to remove my own InsertButtonID, but it doesnt work as well.
     
    Here you have the full code:
    Remark:  Portal:ImageButton is my overriden standard ImageButton, just couple more functionality.
     
    <div class="relative">

        <script language="javascript" type="text/javascript">

            var filesUploader = "<%=Me.cwFilesUploader.ClientID() %>";
        
        </script>
        
        <div id="queuediv" class="pad-b-15" style="display:none;" align="center">           
            <div id="queuedivtablecontainer" ></div>                                                
        </div>
        
        <div id="upload-buttons" align="right">
            
            <table cellpadding="0" cellspacing="0">
            
                <tr>
                    <td class="pad-r-50"></td>
                    <td><asp:ImageButton runat="server" ID="buttonChooseFiles" ImageUrl="~/images/ImageButtons/choose-files.png" /></td>
                    <td id="td-start-upload" style="display:none;"><Portal:ImageButton runat="server" ID="buttonStartUpload" ImageFileName="upload-to-server.png" OnClientClick="BLOCKED SCRIPTreturn submitbutton_click();" /></td>
                </tr>
            
            </table>
            
            
            <div style="display:none;">
                <asp:Button runat="server" ID="buttonCancelUpload" />
            </div>
            
        </div>
        
        <div align="center">
        
            <CuteWebUI:UploadAttachments runat="server"
                                            ID="cwFilesUploader"
                                            CancelButtonID="buttonCancelUpload"
                                            InsertButtonID="buttonChooseFiles"
                                            ManualStartUpload="true"
                                            ProgressTextTemplate="%SEND% z %SIZE% pÅ™eneseno, rychlost %KBPS%"
                                            ProgressPanelWidth="600">                                        
                                            
            </CuteWebUI:UploadAttachments>           

        </div>

        <script language="javascript" type="text/javascript" src="../scripts/file-uploader.js"></script>   

    </div>
     
    Script from file-uploader.js file:
     

    var uploader = document.getElementById(filesUploader);
    uploader.handlequeueui = myqueueuihandler;

    function myqueueuihandler(list) {

        if (list.length < 1) {
            
            document.getElementById("queuediv").style.display = "none";
            document.getElementById("td-start-upload").style.display = "none";
            
        }
        else {

            document.getElementById("queuediv").style.display = "";
            document.getElementById("td-start-upload").style.display = "block";

            var container = document.getElementById("queuedivtablecontainer");
            container.innerHTML = "";

            var table = document.createElement("table");
            table.cellSpacing = 0;
            table.cellPadding = 0;
            table.className = "table-uploader";

            var trow = table.insertRow(-1);
            var tcell;

            trow.className = "thead";
            
            tcell = trow.insertCell(-1);
            tcell.innerHTML = "Název souboru";
            tcell.align = "center";
            
            tcell = trow.insertCell(-1);
            tcell.innerHTML = "Velikost";
            tcell.align = "right";
            
            trow.insertCell(-1).innerHTML = "&nbsp;";

            for (var i = 0; i < list.length; i++) {

                var name = list[i].FileName
                var size = list[i].FileSize // (or -1)
                var stat = list[i].Status // Finish|Error|Upload|Queue
                var func = list[i].Cancel;
                var row = table.insertRow(-1);

                var x = row.insertCell(-1);
                x.width = 300;
                x.innerHTML = name;
                x.align = "left";

                var sz = row.insertCell(-1);
                sz.width = 100;
                sz.align = "right";
                sz.innerHTML = parseInt(size / 1000) + " kB";

                var last = row.insertCell(-1);

                last.align = "center";
                last.width = 80;

                if (stat == "Queue") {
                    
                    var btn = document.createElement("A");
                    btn.href = "BLOCKED SCRIPTdeleteAttachement();";
                    btn.onclick = func;
                    btn.innerHTML = "smazat";
                    last.appendChild(btn);

                }
                else if (stat == "Upload") { last.innerHTML = "nahrávám"; }
                else if (stat == "Finish") { last.innerHTML = "OK"; }
                else { last.innerHTML = "! chyba !"; }
                
            }

            container.appendChild(table);

        }
        return false; //hide the default;
    }

    function submitbutton_click() {

        var submitbutton = document.getElementById(buttonStartUpload);
        var uploadobj = document.getElementById(filesUploader);

        document.getElementById("upload-buttons").style.display = "none";

        if (!window.filesuploaded) {
            if (uploadobj.getqueuecount() > 0) {
                uploadobj.startupload();
            }
            else {
                var uploadedcount = parseInt(submitbutton.getAttribute("itemcount")) || 0;
                if (uploadedcount > 0) { return true; }
                alert("Please choose files for upload");
            }
            return false;
        }

        window.filesuploaded = false;
        return true;

    }

    function CuteWebUI_AjaxUploader_OnPostback() {
        window.filesuploaded = true;
        var submitbutton = document.getElementById(buttonStartUpload);
        submitbutton.click();
        return false;
    }

    function deleteAttachement() {
        var uploadobj = document.getElementById(filesUploader);
        if (uploadobj.getqueuecount() < 1) {

        }
    }                                                            
           
     
     

    David Skowronek
  •  06-30-2010, 4:39 AM 62121 in reply to 62033

    Re: Uploader not working in Firefox 3.6.6 at all

    I have the same issue. My Firefox is v3.6.6 (just updated yesterday) and the uploader doesnt react to any click on the InsertButton now. Upgrading to some sort of version of Silverlight isn't really an option to fix this since we have a lot of anonymous users we don't know. I hope you can find out whats going wrong in this process and that you can update the ajaxuploader to support both previous versions as the current firefox version.
  •  06-30-2010, 7:53 AM 62134 in reply to 62121

    Re: Uploader not working in Firefox 3.6.6 at all

    Also having the same issue. The buttons seem to turn on-off-on when the page loads, then they aren't clickable.
     
    Our testers have noticed that if the page is left open for 5-10 minutes the buttons are eventually clickable - very odd. 
  •  07-01-2010, 8:47 AM 62185 in reply to 62033

    Re: Uploader not working in Firefox 3.6.6 at all

    We are seeing the same thing with 3.6.6.  The file browser does not launch.  Even when we update Silverlight on the client it does not work.  IE and Chrome work fine.
     
    Hope to see an update or a solid work around soon.
  •  07-01-2010, 10:59 AM 62188 in reply to 62185

    Re: Uploader not working in Firefox 3.6.6 at all

    i got the same problem. Button is not clickable since update.
  •  07-02-2010, 8:20 AM 62247 in reply to 62050

    Re: Uploader not working in Firefox 3.6.6 at all

    The reason why we have decided to buy and use an external product for uploading files is that we do like the responsibility for the tool to work in the current multi-browser world to be at the external party. But I am starting to worry whether this is picked up accordingly for the Ajaxuploader.
     
    There's only 1 reply here suggesting to fix it client-side. Can you give us any confirmation on whether you have identified this issue and are working on making the ajaxuploader to fully support the latest Firefox version for all our users?
  •  07-02-2010, 10:27 AM 62249 in reply to 62247

    Re: Uploader not working in Firefox 3.6.6 at all

    We are investigating this issue and will get back to you as soon as possible.
     
    For now, the following example works fine for us.
     
     
    We are using Firefox 3.6.6 as well.
     
    Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6 ( .NET CLR 3.5.30729; .NET4.0C)

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  07-02-2010, 11:01 PM 62255 in reply to 62033

    Re: Uploader not working in Firefox 3.6.6 at all

    Hi,
     
    We have fix this issue. Please download the control again.
     
    Either Firefox3.6 or Silverlight3.0 , have big mouse positioning bug.
     
    So we can't recieve any event when user click on the button.
     
    So we disable Silverlight3.0 for Firefox3.6. And auto use Flash mode or IFrame mode.
     
    If you want to use Silverlight for Firefox3.6 , the only way is upgrate to Silverlight4.0
     
    Regards,
    Terry
     
  •  07-03-2010, 3:02 AM 62267 in reply to 62255

    Re: Uploader not working in Firefox 3.6.6 at all

    It is working!
     
    Many thanks!!!

    David Skowronek
  •  07-06-2010, 4:31 AM 62308 in reply to 62267

    Re: Uploader not working in Firefox 3.6.6 at all

    I downloaded the ajaxuploader and the upload button does work now in the latest Firefox version. But the progress bar stopped working and is sticking to 0% all the time. I hope you can look into this soon because I planned togo live with my newest tool.
  •  07-09-2010, 4:01 AM 62384 in reply to 62308

    Re: Uploader not working in Firefox 3.6.6 at all

    The progress bar just works now without changing anything so please ignore my previous message.
  •  07-16-2010, 9:39 AM 62532 in reply to 62384

    Re: Uploader not working in Firefox 3.6.6 at all

    YAY.  Works for me now too.  Latest release fixed it.
    THANKS
  •  04-18-2011, 4:52 AM 67213 in reply to 62255

    Re: Uploader not working in Firefox 3.6.6 at all

    Hi Cutechat,
     
    I am also facing the same problem. I am using  3.6.16 version of firefox.
     
    I followed all the steps provided by you, but its not working at all.
     
    Please help. 
  •  04-18-2011, 11:15 PM 67234 in reply to 67213

    Re: Uploader not working in Firefox 3.6.6 at all

    Hi shailen,
     
    Can you reproduce this issue on our demo http://www.ajaxuploader.com/Demo/select-multiple-files-upload.aspx? If so, please post the full error info. I will check it and get back to you as soon as possible.
     
    If this issue only happens on your site, please send me the test page url so I can check it for you.
     
    Keep me posted.
     
    Regards,
     
    Ken
View as RSS news feed in XML