Hi,
You'd better setTimeout to check whether the uploader is initialized after AJAX postback.
for example:
function StartUpload()
{
var submitbutton=document.getElementById('<%=SubmitButton.ClientID %>');
var uploadobj=document.getElementById('<%=Uploader1.ClientID %>');
if(!uploadobj.startupload)//not initilaized
{
setTimeout(StartUpload,10);
return;
}
...other code.
}
Regards,
Terry