Welcome Guest Search | Active Topics | Sign In | Register

Stop the FileUploader disabling after upload? Options
356
Posted: Friday, March 30, 2012 8:19:03 AM
Rank: Newbie
Groups: Member

Joined: 3/30/2012
Posts: 4
Hi,

Is there a way to stop the file upload box from automatically being disabled once an upload has taken place? I'd like the user to be able to select a replacement file without first ticking the checkbox and then pressing the delete button.

Thanks!
eo_support
Posted: Friday, March 30, 2012 9:22:28 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

You can just set the uploader's AutoPostBack to true and SavePostedFileList to false. That way as soon as the uploader finishes uploading the file, it will post back the page and trigger FileUploaded. Inside that event you can accept the uploaded file (for example, by moving it to a "permanent" location, or save it to database, etc). Once it reaches this point, the whole uploading cycle is complete and the uploader is "reset" to its initial state. User would then be able to browse and upload another file.

Thanks
356
Posted: Friday, March 30, 2012 9:26:48 AM
Rank: Newbie
Groups: Member

Joined: 3/30/2012
Posts: 4
Thanks for the reply, it looks like my version doesn't have the SavePostedFileList property :-(
eo_support
Posted: Friday, March 30, 2012 9:32:48 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Unless you are using an older version, you should have it. That property was added a while ago.

Thanks
356
Posted: Friday, March 30, 2012 9:37:29 AM
Rank: Newbie
Groups: Member

Joined: 3/30/2012
Posts: 4
File description EO.Web for ASP.Net 2.0

File version 6.0.40.2

I'm guessing it doesn't have it because it doesn't work...
eo_support
Posted: Friday, March 30, 2012 9:42:35 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

That won't work. In fact you don't even qualify for free tech support with that version. ; ) That is about 4 years old and we only offer tech support for one year after purchase. So you may want consider upgrading to the current version. Depending on the exact version you purchased (the version you purchased maybe different than the version you use), we may still have upgrade discount for your version. If you can let us know your order number we should be able to find out whether there is any upgrade discount for your order.

Thanks!
356
Posted: Friday, March 30, 2012 9:43:37 AM
Rank: Newbie
Groups: Member

Joined: 3/30/2012
Posts: 4
OK 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.