Welcome Guest Search | Active Topics | Sign In | Register

AJAXUploader event seems to get called twice with autopost back enabled Options
Paul Creedy
Posted: Monday, June 16, 2008 1:04:57 AM
Rank: Advanced Member
Groups: Member

Joined: 6/5/2007
Posts: 76
The AJAXUploader event seems to get called twice with autopost back enabled.

Example:
I set auto upload and auto postback enabled.
The uploader is inside a Wizard

In the Uploader event I have code that copies the file from temp to destination and rename the file.

Note, I do not use the FinalFileLocation property because I have to rename the file


The file is uploaded and form posted back, the file is copied from Temp to destination and gets renamed.

However when I first click the NEXT button on the wizard, the uploader event gets fired a second time! Subsequent Previous/Next button presses does NOT call the event a third time.

Am I doing something wrong?

eo_support
Posted: Monday, June 16, 2008 8:40:10 AM
Rank: Administration
Groups: Administration

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

That appears to be a problem. We will look into it and get back to you as soon as possible.

Thanks
Paul Creedy
Posted: Monday, June 16, 2008 8:53:18 AM
Rank: Advanced Member
Groups: Member

Joined: 6/5/2007
Posts: 76
Thanks

The result is that I get the same file copied twice, and as I'm using a method to generate a unique file name I end up with two files in the destination not one. I didn't notice this before because I wasn't using unique file names so I guess it was still happening but it was just overwriting it with the same file of the same name.

I hope there is a fix for it as I can't think or a way around me not doing it this way.
Paul Creedy
Posted: Wednesday, June 18, 2008 4:18:32 AM
Rank: Advanced Member
Groups: Member

Joined: 6/5/2007
Posts: 76
If it is a bug, would be you able to give a rought ETA for the fix? Days, weeks, or months as I need to decide to either wait for the fix or do things in a different way.
eo_support
Posted: Wednesday, June 18, 2008 8:27:04 AM
Rank: Administration
Groups: Administration

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

We have not confirmed it is a bug yet. But we are hopping to close the issue this week, which means either an explanation, a fix, or workaround would be available.

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.