|
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!
|
|
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
|
|
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 :-(
|
|
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
|
|
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...
|
|
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!
|
|
Rank: Newbie Groups: Member
Joined: 3/30/2012 Posts: 4
|
OK thanks!!
|
|