Welcome Guest Search | Active Topics | Sign In | Register

Show Files Already Uploaded Options
swabygw
Posted: Wednesday, August 19, 2009 6:06:20 AM
Rank: Member
Groups: Member

Joined: 8/11/2009
Posts: 14
I'm using the Upload control to attach files to be saved with a corresponding parent record (the parent record holds information about the file, like a description, author, etc.). For uploading and saving the files, this works fine. But, after the record and file is saved, at some later time, I need to go back and view the record and the file and, perhaps, remove the file and attach a different file. Can I load the Upload control and programmatically put my saved file into its' PostedFiles collection? I would also want to gray out the Upload button and make the Delete button/checkbox available to delete the file. Not sure if I explained myself well, but is this possible?
swabygw
Posted: Wednesday, August 19, 2009 6:10:07 AM
Rank: Member
Groups: Member

Joined: 8/11/2009
Posts: 14
BTW, an alternative to this would be, upon pulling up the record, to automatically re-upload the already saved file. This would give the user the impression that this file was already attached to the record. Is it possible to kick off the upload programmatically?
eo_support
Posted: Wednesday, August 19, 2009 7:05:29 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
No. You can not reload the uploaded file list to the uploader. You should use a separate list (for example, a DataGrid) to manage your files.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.