Tringering startUPLOAD in IE

Oct 7, 2009 at 11:05 AM
Edited Oct 7, 2009 at 11:19 AM

Hello !

 

Thank you very much for this nice control !

 

I got one problem :

 

I don't want to use your Update Button because the Uploaded Files are only one part of the hole content.

So i have to trigger the uppload Function.

 

My Code:

 

 <input type="button" value="Upload" onclick='<%=Uploader.ClientID%>.startUpload();' /> 


This work in Firefox without any problems. But the IE say: "unknown error".


I have also test something like that:

 

<input type="button" value="Upload" onclick="StartUpload" />

function StartFileUpload(){
  // the FU1 is the server side control ID
  <%=Uploader.ClientID%>.startUpload();
}

This works in Firefox too, but in IE not.....


Exactly Failure (only INternet Explorer)


...On debugging the failuer is here ?!....


this._flash.CallFunction("<invoke name=\"startUpload\" returntype=\"javascript\"></invoke>");



So plaese can you help me to get work this function ?


Thanks a lot !!! And sorry my english :)

 
Coordinator
Nov 11, 2009 at 6:11 PM

For some reason Flash has not been loaded on your page for IE. I have no idea why. May be you have some JavaScript code on the page that messes up with SwfObject.