Sometimes it behaves like a normal upload control

Last post 10-17-2009, 11:06 PM by cutechat. 2 replies.
Sort Posts: Previous Next
  •  10-14-2009, 5:40 AM 56388

    Sometimes it behaves like a normal upload control

    When I tried to upload a file through ajax uploader. I noticed that it behaved like a normal file upload control
     
     
    you can see that there is a file uploader like control is appearing as well. One more thing which I saw was I already mentioned the types of files in the cute uploader which can be uploaded but instead of this I could see all types of files.
     
     
  •  10-14-2009, 9:19 AM 56394 in reply to 56388

    Re: Sometimes it behaves like a normal upload control

    I ran into this issue too.
    I couldnt figure out why but I noticed it was only happening when my UploadType was set to iFrame
    It went away when I set Upload type to silverlight or flash 
  •  10-17-2009, 11:06 PM 56464 in reply to 56388

    Re: Sometimes it behaves like a normal upload control

    Hi,
     
    When your specify the UploadType=IFrame , or the browser do not install the Flash/Silverlight ,
     
    the uploader will create an iframe and <input type=file> to do the upload task.
     
    For IE/Chrome , it will allow file.click() method to prompt the browsing dialog ,
     
    but for Firefox/Safari , the browsers require user click on the real <input type=file> ,
     
    So uploader just show the normal file upload control for that case.
     
    Regards,
    Terry
View as RSS news feed in XML