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
1 Answer, 1 is accepted
0
Ivan Danchev
Telerik team
answered on 11 Oct 2018, 06:08 AM
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.