How to upload a file with a different name.
|
Article relates to
|
RadUpload for Silverilght
|
|
Created by
|
Ivan Efimov
|
|
Last modified
|
March, 18, 2009
|
|
Last modified by
|
|
In order to change the name of an uploaded file you need to follow these steps:
- Create a simple upload application (for details, click here);
- Implement a counter for the number of uploaded files - see the uploadedFiles member in Page.xaml.cs file of the attached project;
- Implement the UploadStarted event handler - inside it initialize the uploadedFiles member with zero;
- Implement the FileUploadStarting event handler - inside it we set a new name for the uploaded file;
That's all!
Comments
If you'd like to comment on this KB
article, please, send us a
Support Ticket.
Thank you!
Please
Sign In
to rate this article.