On the upload sample, the file name is trimmed. When selecting the file, it shows: filename.png. When I added my controls and select a file, my file name says C:\Document and Settings\user\Desktop\filename.png . How do I remove everything before \filename.png?
1 Answer, 1 is accepted
0
Genady Sergeev
Telerik team
answered on 08 Jun 2009, 12:15 PM
Hi Chris,
Once you have your files uploaded, you can easily get the file name using the "GetName" method of the UploadedFile class. Example: