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
|
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.htmlHope this helps. Thanks!
|