Welcome Guest Search | Active Topics | Sign In | Register

AJAXUploader "OnFileDeleted"? Options
RAM
Posted: Tuesday, September 9, 2008 11:25:21 AM
Rank: Member
Groups: Member

Joined: 4/8/2008
Posts: 19
Hi

I am using the AJAX Uploader and implimented some server side code when the "OnFileUploaded" event occurs. Here I am saving file to database. At this time the control list the files with a delete option.

I want to implement delete functionality on server side (deleting file from database, when I delete from the AJAXUpload control), I could not find any event like "OnFileDeleted" with the control.

Is there any way I could acheive this ?
send me any links you know if it is already posted here.

Thanks
Ramesh
eo_support
Posted: Tuesday, September 9, 2008 12:23:14 PM
Rank: Administration
Groups: Administration

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

You should not rely on the delete button. The delete button is there for you to delete temp files, not files that you have already processed. So you will want to have your own scheme to support deleting files that you have already processed. Once you have processed the files, you can also call ClearPostedFiles to clear the "temp file list".

You can find more details about the difference about "temp file" and "processed file" at here:

http://www.essentialobjects.com/ViewDoc.aspx?t=AJAXUploader%2fAJAXUploader_behavior.html

Hope this helps.

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.