Re: Determine upload type

  •  07-17-2011, 11:27 PM

    Re: Determine upload type

    Hi Prosu,
     
    Please try the following javascript code 
    1. function CuteWebUI_AjaxUploader_OnSelect(files)  
    2. {  
    3.     GetUploadType();  
    4.     return true;  
    5. }  
    6.   
    7. function GetUploadType()  
    8. {  
    9.     var uploadobj=document.getElementById('<%=Uploader1.ClientID %>');  
    10.     alert(uploadobj.internalobject.addontype);  
    11. }  
     
     
    Regards,
    Jeff 
View Complete Thread