Two little questions

Last post 08-03-2009, 11:20 PM by cutechat. 7 replies.
Sort Posts: Previous Next
  •  07-29-2009, 8:09 AM 54364

    Two little questions

    Hallo,
     
    currently I'm testing the Ajax Uploader Demo version. During m ytesting, two questins occured, that hopfully anybody can answer.
     
    1. args.FileSize is 0
     In my _FileUploaded-Event I get args.FileSize = 0 instead of the real FileSize. Is this only in the demo?
     
    2. Display the upload in a seperate Control
    I'd like to display the file upload in an extra control on the website, which is always visible. This ontrol should appear, after the files for the upload have been selected. Is this easily possible?
     
    Thanks
     
  •  07-29-2009, 11:24 AM 54371 in reply to 54364

    Re: Two little questions

    Hi,
     
    In what condition you get the FileSize = 0 ?
     
    We do not get such problem before.
     
    And can you explain the #2 question more clearly ?
     
    Regards,
    Terry
     
  •  07-29-2009, 4:19 PM 54378 in reply to 54371

    Re: Two little questions

    Hi,
     
    I get FileSize = 0 when I write the FileSize to the database. Then I tried Response.Write(args.FileSize) and also received 0.
     
    To question #2:
    I integrated the AjaxUploader in a web form. From this page, the dialog for the fileselection should be opend by clicking to the AjaxUploader. So far it's the usual behavior.
    But now I want the progressbar, progresspanel and all other upload-information to be displayed in a popup.

    I hope this was more clearly...
  •  07-30-2009, 4:26 AM 54402 in reply to 54378

    Re: Two little questions

    Hi,
     
    If you still get the 0 FileSize, I think you get a bug.
     
    But we can't reproduce it. Can you send your code which caused that issue ?
     
    for the #2 question , please check this http://ajaxuploader.com/document/scr/JavaScript-API.htm
     
    You can hide the default progress UI , and show it in another place using Javascript.

    Regards,
    Terry
     
  •  07-30-2009, 4:50 AM 54403 in reply to 54402

    Re: Two little questions

    Hi,
     
    thanks for your help.
     
    Surprisingly the problem with the FileSize no longer exists, everything works fine without changing anything.
     
    But meanwhile another question appeared: Is it possible to continue a canceled upload later?
     
    Regrads,
    sokei
  •  07-30-2009, 12:26 PM 54410 in reply to 54403

    Re: Two little questions

    sokei,
     
    A resume button will appear if the upload is interrupted.

    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

  •  08-03-2009, 6:04 AM 54454 in reply to 54402

    Re: Two little questions

    Hi,
     
    because I'm not used to programm in JavaScript I don't know how to show the default progress bar in another place. Can you give me a hint how to do this?
     
    Or can anybody tell me, how to start the AjaxUploader programatically (without a client-click)?
  •  08-03-2009, 11:20 PM 54462 in reply to 54454

    Re: Two little questions

    Hi,
     
    #1 You can customize the progress bar position via server side code and the ProgressCtrlID,ProgressTextID properties.
        You can get the source code from the zip file you downloaded.
     
    #2 Uploader will auto upload files after user selecting files .
     
    Regards,
    Terry
     
View as RSS news feed in XML