Welcome Guest Search | Active Topics | Sign In | Register

AJAXUploader.ClientSideOnDone Options
CPM
Posted: Wednesday, September 24, 2008 2:33:40 AM
Rank: Member
Groups: Member

Joined: 9/23/2008
Posts: 10
The AJAXUploader.ClientSideOnDone event does not fire.

I have a simple alert as the event handler for ClientSideOnDone, but it does not fire.

<eo:AJAXUploader ID="AJAXUploader"
Width="100%"
AutoPostBack="true"
runat="server"
TempFileLocation="~/EPOS/UploadedFilesTemp"
FinalFileLocation="~/EPOS/UploadedFiles"
OnFileUploaded="AJAXUploader_OnFileUploaded"
ClientSideOnDone="alert('ClientSideOnDone');">
CPM
Posted: Wednesday, September 24, 2008 2:46:47 AM
Rank: Member
Groups: Member

Joined: 9/23/2008
Posts: 10
I've also tried the following. The Progress event fires, but not the Done event.

<script type="text/javascript">
function AJAXUploader_ClientSideOnDone()
{
alert('ClientSideOnDone');
}
function AJAXUploader_ClientSideOnProgress()
{
alert('ClientSideOnProgress');
}
</script>

<eo:AJAXUploader ID="AJAXUploader"
Width="100%"
AutoPostBack="true"
runat="server"
TempFileLocation="~/EPOS/UploadedFilesTemp"
FinalFileLocation="~/EPOS/UploadedFiles"
OnFileUploaded="AJAXUploader_OnFileUploaded"
ClientSideOnProgress="AJAXUploader_ClientSideOnProgress"
ClientSideOnDone="AJAXUploader_ClientSideOnDone">
eo_support
Posted: Wednesday, September 24, 2008 4:22:24 AM
Rank: Administration
Groups: Administration

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

This appears to be a bug. We have already fixed it internally, we will try to get a new build to you as soon as possible.

Thanks!
CPM
Posted: Wednesday, September 24, 2008 4:29:37 AM
Rank: Member
Groups: Member

Joined: 9/23/2008
Posts: 10
I have a very urgent deadline. Can you give me an estimate of when the next build will be available? Is there any way I can get an advanced copy?
eo_support
Posted: Wednesday, September 24, 2008 4:37:13 AM
Rank: Administration
Groups: Administration

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

We will try to get a new build to you either today or tomorrow (U.S. east time). Would that be OK?

Thanks
CPM
Posted: Wednesday, September 24, 2008 4:40:07 AM
Rank: Member
Groups: Member

Joined: 9/23/2008
Posts: 10
That would be fine, thank you.
eo_support
Posted: Thursday, September 25, 2008 7:11:28 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
This issue is fixed in build 2008.0.35 (6.0.35).
jason
Posted: Tuesday, September 30, 2008 10:42:24 PM
Rank: Newbie
Groups: Member

Joined: 9/29/2008
Posts: 1
Hi there, I need this fix as well. Where can I get this build?
The main download page shows the latest build as being 2008.0.34.
Thanks,
-jaa
eo_support
Posted: Wednesday, October 1, 2008 2:45:10 AM
Rank: Administration
Groups: Administration

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

We've sent you the download location via private message. Please click "inbox" on the top of the forum to view the message.

Thanks!
Kris Brietkopf
Posted: Wednesday, October 15, 2008 5:15:29 AM
Rank: Member
Groups: Member

Joined: 3/24/2008
Posts: 12
I can't get any of the clientside functions to fire. I just downloaded version 6.0.40.2. For testing purposes I'm using this code: ClientSideOnDone="alert('ClientSideOnDone');". Can you see what's wrong with it?

Thanks.
eo_support
Posted: Wednesday, October 15, 2008 6:15:46 AM
Rank: Administration
Groups: Administration

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

ClientSideOnDone takes a function name, not inline JavaScript. So you must do something like this:

Code: JavaScript
function test()
{
   alert('ClientSideOnDone');
}


Code: HTML/ASPX
ClientSideOnDone="test"


The reason that it takes a function name is because AJAXUploader will pass a few parameters to your functions. You can find more information about how client side event works at here:

http://www.essentialobjects.com/ViewDoc.aspx?t=clientapi_howto.html

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.