Name/Value on Uploaded files

2 posts, 0 answers
  1. Jessica
    Jessica avatar
    5 posts
    Member since:
    Mar 2018

    Posted 09 Oct 2018 Link to this post

    Hi,

     

    When I upload a file using the Upload control, I want to be able to change the name of the file on the server, but I want the user to see the original file name.

     

    Is there a way to have a different name and value for each file in the list? If so, how is the value set?

     

    Thanks,

    Jess

  2. Ivan Danchev
    Admin
    Ivan Danchev avatar
    1681 posts

    Posted 11 Oct 2018 Link to this post

    Hi Jess,

    The Upload has no capabilities of renaming an uploaded file on the server. The widget allows you to select a file, it displays the file as selected and sends it to the server synchronously or asynchronously depending on the mode used. If you want to rename a file uploaded on the server you could consider using the approach suggested in this stackoverflow thread.

    Regards,
    Ivan Danchev
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top