Force to use Flash mode

Last post 04-23-2009, 10:18 AM by cutechat. 6 replies.
Sort Posts: Previous Next
  •  04-22-2009, 10:58 AM 51373

    Force to use Flash mode

    Hi,
     
    Is there anyway to 'force' the upload component to use Flash or iFrame mode?
     
    The reason is many clients do not yet have SilverLight installed and the uploader keeps prompting to download and install Silverlight.
     
    Many thanks
     
    db
  •  04-22-2009, 2:01 PM 51387 in reply to 51373

    Re: Force to use Flash mode

    dgburton,
     
    Can you post your uploader code? It is very strange that the uploader forces you download the silverlight.
     
    1. If Ajax Uploader detects SilverLight is installed on your PC, It will use the SilverLight solution.
     
    2. If Ajax Uploader detects Flash is installed on your PC, It will use the Flash solution.
     
    3. If Ajax Uploader detects Iframe is supported on your Browser, It will use the Iframe solution.
     
    4. Ajax Uploader will render as default ASP.NET upload control.
     
     
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  04-23-2009, 1:41 AM 51404 in reply to 51387

    Re: Force to use Flash mode

    Hi,
     
    The sample code we're using is straight out of one of your included samples.
     
    The issue is not that it 'forces' Silverlight when Silverlight is not installed, but that Silverlight is installed, but when run attempts to auto-download a Silverlight update - which some users do not have permission to install.
     
    Is it possible to force the uploader into Flash mode?
     
    many thanks
     
    db
  •  04-23-2009, 9:50 AM 51432 in reply to 51404

    Re: Force to use Flash mode

    Hi,
     
    Please use this :
     
    Uploader1.SetAdvancedOption(UploaderAdvancedOption.NoSilverlight, "true");
     
    And please check the property 'UploadType' too.
     
    Regards,
    Terry
     
  •  04-23-2009, 10:08 AM 51435 in reply to 51432

    Re: Force to use Flash mode

    Thanks - do you support multiple-file-selection in Flash mode?
     
     
  •  04-23-2009, 10:10 AM 51436 in reply to 51435

    Re: Force to use Flash mode

    ah ok...
     
    so if I set:
     
            Me.upload1.SetAdvancedOption(CuteWebUI.UploaderAdvancedOption.NoSilverlight, "true")
            Me.upload1.UploadType = CuteWebUI.UploadType.Auto


    Then it will try Flash first, then revert to iFrame mode?
  •  04-23-2009, 10:18 AM 51437 in reply to 51436

    Re: Force to use Flash mode

    Yes.
     
    Regards,
    Terry
     
View as RSS news feed in XML