Re: Uploader is not initialized when in a hidden div

  •  03-06-2009, 9:15 AM

    Re: Uploader is not initialized when in a hidden div

    Of course, it did not fix the problem. (the text prop was set in the code behind)
    Are you able to make the uploader run with a simple page like this one, with Firefox:
     
    <%@ Register TagPrefix="CuteWebUI" Namespace="CuteWebUI" Assembly="CuteWebUI.AjaxUploader" %>
    <body>
    <form runat="server" id="mainForm">
            <a href="#" onclick="document.getElementById('zForm').style.display=''; return false;">show uploader</a>
            <br />
            <div id="zForm" style="display: none;">        
                <div id="zUploadForm" class="uploadForm" runat="server">
                        <CuteWebUI:UploadAttachments id="tDocUpload" runat="server" />
                        <br />
                        Hello world
                </div>
            </div>
    </form>
    </body>
    </html>
     
    Without the display: none, it works fine.
    With the display: none, the upload button is disabled.
     
    Please note the problem occurs with Firefox.
    Everything seems ok with IE.
     
    Looking forward to reading you

     
     
View Complete Thread