Using RadUpload to display uploaded files

Thread is closed for posting
2 posts, 0 answers
  1. Jon Reynolds
    Jon Reynolds avatar
    1 posts
    Member since:
    Nov 2004

    Posted 09 Mar 2012 Link to this post

    I'm trying to figure out if there is a way to repopulate the RadUpload control with files that were previously uploaded.  I have a message board where users can type a message and also attach files (using the Upload control) to the message.  Currently when a user uploads a file, the file is saved to a file share on the web server and I then save the path and file(s) name along with the message to a database.

    What I would like to do is when the user try's to edit the post, I can pull back the message and files that were uploaded.  I would like to have the Edit form look just like the post form instead of having the user delete the files some other way (which is possible and probably easier) and populate the control with the names of the existing files.  I realize that this is not the purpose of this control but is there a way that I can do this?  And an extra option would be if then if they choose to delete a file i could capture that and remove the file? 
  2. Bozhidar
    Bozhidar avatar
    1146 posts

    Posted 14 Mar 2012 Link to this post

    Hello Jon,

    This is not possible due to security reasons. It would have been huge vulnerability issue if it was possible to programmatically select files on the client machine and then upload them.
    All the best,
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top