RadUpload RepeaterResults

Thread is closed for posting
2 posts, 0 answers
  1. JJ
    JJ avatar
    21 posts
    Member since:
    Jan 2008

    Posted 27 Mar 2008 Link to this post

    Hi Telerik Folk,

    I'm using your example of uploading and displaying the 'FileName' and 'ContentLength', but for me, instead of just displaying the file name, I am getting the full file path and file name of the location I've uploaded from after each upload.

    How can I only show the file name?

    Thanks,

    JJ
  2. Sophy
    Admin
    Sophy avatar
    636 posts

    Posted 28 Mar 2008 Link to this post

    Hello,

    If you want to find and display the name of the uploaded file but not its full path you should use the GetName() method which RadUpload's server-side API provides. The FileName property returns the full client-side path of the file while the GetName() method returns the name of the uploaded file. You can take a look at the Manipulating the Uploaded Files help article for reference.

    Let us know if you need further assistance.

    Best regards,
    Sophy
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top