Hiding file list but not he progress bar

Last post 02-12-2009, 4:02 AM by cutechat. 4 replies.
Sort Posts: Previous Next
  •  02-11-2009, 3:11 PM 48635

    Hiding file list but not he progress bar

     Hi, 

    I have an ajax uploader control configured for manual start and single file upload as per one of your examples. However as the user is only allowed to browse and select for one file at a time in my implementation, i would like to hide the list of files that seems to be automatically displayed. Once the user has browsed for a file, they can then click my upload button which starts the upload process. At this point the list of files gets replaced with the progress bar. 

    Is this possible? I couldn’t seem to locate a property to disable it.  

    Also, the Cancelled tool tip which appears in the file list next to the file name is spelt incorrectly.
     
    Any help with this would be most appreciated.
     
    Thanks
    Antony

     

  •  02-11-2009, 3:59 PM 48638 in reply to 48635

    Re: Hiding file list but not he progress bar

    Antony,
     
    If you use single file upload, the detault file upload list will not show.
     
    Please check the following code:
     
    <%@ Page language="c#"%>
    <%@ Register Namespace="CuteWebUI" Assembly="CuteWebUI.AjaxUploader" TagPrefix="CuteWebUI" %>
    <html>
    <head>
    </head>
    <body>
        <form id="Form1" method="post" runat="server">
     <CuteWebUI:Uploader runat="server" MultipleFilesUpload="true" ID="Uploader1">
     </CuteWebUI:Uploader> 
        </form>
    </body>
    </html>
     
    If you are using ajax uploader control configured for manual start, please modify this example and remove the listbox from the page:
     
     
     

    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

  •  02-11-2009, 8:31 PM 48648 in reply to 48635

    Re: Hiding file list but not he progress bar

    Antony,
     
    for manual start upload case,
     
    you can use this script to hide the queue :
     
    <script type="text/javascript">
    function CuteWebUI_AjaxUploader_OnProgressUI(items)
    {
            return false;
    }
    </script>
     
    And you need do something in that function to let user know he have select one file .
     
    Regards,
    Terry
     
     
  •  02-12-2009, 3:02 AM 48656 in reply to 48648

    Re: Hiding file list but not he progress bar

    Excellent
     
    Thanks very much for the quick response.
     
    Regards
    Antony
  •  02-12-2009, 4:02 AM 48659 in reply to 48656

    Re: Hiding file list but not he progress bar

    Hi,
     
    Sorry , it should be CuteWebUI_AjaxUploader_OnQueueUI
     
    Regards,
    Terry
View as RSS news feed in XML