Can RadUpload change the local filename on upload?

3 posts, 1 answers
  1. Josh
    Josh avatar
    23 posts
    Member since:
    Feb 2011

    Posted 09 Jun 2012 Link to this post

    Hello,

    I was wondering if the RadUpload control can change the local filename (on both Win and Mac). I can see many forum topics describing how to change the name of the uploaded file, but I need to change the local filename as well. Is it possible through this control?

    Thanks!
  2. Answer
    Lancelot
    Lancelot avatar
    251 posts
    Member since:
    Jul 2012

    Posted 12 Jun 2012 Link to this post

    Hi Josh,

    he RadUpload control offers you several events to which you can build an event handler to contain your method of changing the local file name change. Here is a list of the events:

  3. FileTooLarge, FileCountExceeded, UploadSizeExceeded - these events can get triggered if some of the selected files exceed the predefined criteria.
  4. FilesSelected - raises when the user has selected files from the browse dialog window. This is the first of the RadUpload specific events that can be triggered by the actions of the user.
  5. UploadStarted - raises when the user clicks the Upload button.
  6. FileUploadStarting - raises during the upload of each file.
  7. FileUploadFailed, ProgressChanged, FileUploadPaused, FileUploadResumed, FileUploadCanceled - these events can be triggered in different order, depending on the user actions.
  8. FileUploaded - raises when the file has been fully uploaded.
  9. UploadFinished - raises when all files in the list have been processed, no matter this has been successfully done or not.

  10. You need to just figure out when the best time would be for you to make the change in your circumstances. This link will bring you to the documentation on the events I jsut mention.

    I hope this helps, Good Luck!

    Lancelot
  • DevCraft banner
  • Josh
    Josh avatar
    23 posts
    Member since:
    Feb 2011

    Posted 12 Jun 2012 Link to this post

    Awesome! Thanks for the info Lancelot.
  • Back to Top