Re: Turn off Silverlight in CuteWebUI.AjaxUploader

  •  05-30-2011, 10:03 AM

    Re: Turn off Silverlight in CuteWebUI.AjaxUploader

    Dear velnias2008,
     
    We integrate Ajax uploader into Cute Editor. Ajax Uploader allows you to select and upload multiple files at once.
     
    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. 
     
    How to turn off the silverlight solution?
    Please follow steps:
    1.
    Search "<ce:uploader" in your project which contains CuteEditor for .NET, you can find the following files using CuteEditor:
    InsertDocument.aspx (2 matches)
    InsertFlash.aspx (2 matches)
    InsertGallery.aspx (2 matches)
    InsertImage.aspx (2 matches)
    InsertMedia.aspx (2 matches)
    InsertTemplate.aspx (2 matches)
    SelectFile.aspx (2 matches)
    SelectImage.aspx (2 matches)
     
    Open these files, you can find method:
     
       override protected void OnInit(EventArgs args) 
     
    Add the following line in this method:
     
    InputFile.SetAdvancedOption(UploaderAdvancedOption.NoSilverlight, "true");  
     
    CuteEditor will turn off the silverlight mode.
     
    We don't advise you turn off the silverlight solution, you can let that customer test our online demo http://cutesoft.net/example/general.aspx , check whether that customer will have same issue in our online demo. 
     
    Thanks for asking
    Eric@cutesoft.net  
View Complete Thread