Hi,
Please check this thread for client script API:
You can do it like this :
<scrpt>
function CuteWebUI_AjaxUploader_OnPostback()
{
var hidden=this;
//currently you are not able to get the filename of the upload task.
///DoYourCustomAjaxPostBack();
//return false;//cancel the default postback
}
</script>
You need understand that , the OnPostback handler is fired at client side , before the server-FileUploaded
That means , the file is uploaded , and the page need postback to fire the server-FileUploaded.
So the function CuteWebUI_AjaxUploader_OnPostback does not mean you have saved the file on the server.
If you want to do something after the server-FileUploaded , I think you can do that at server side :
private void Uploader1_FileUploaded(...)
{
string fileshortname=args.FileName;
args.MoveTo(mynewfilepath);
SendScriptToTellClientUploadOK(fileshortname);
}
-----------------------------------------------------------------------------------------
The page should postback once to let server-FileUploaded event being fired.
If you don't want to use Microsoft Ajax , you need use another Ajax framework for that.
For your requests , I will write a sample later to implement your ideas.
Regards,
Terry