Flash no longer working

3 posts, 0 answers
  1. Andrew Dixon
    Andrew Dixon avatar
    15 posts
    Member since:
    Apr 2010

    Posted 05 Aug 2012 Link to this post


    I've been using version 2010.1.315.35 of the ASP.NET AJAX tools for quite some time now.  I'm in the middle of upgrading to the latest version (2012.2.724.35).  I use AsyncUpload in my application and use Flash in my application too.  Up until now version 2010.1.315.35 AsyncUpload has been using Flash in Firefox and Chrome (versions 14.01 and 21.0 respectively) but now that I've upgraded to 2012.2.724.35 flash is no longer being used and it appears to be falling back to using HTML.  I make extensive use of file filters so it's important that I can use AsyncUpload in flash mode.  I've noticed also that the demo at http://demos.telerik.com/aspnet-ajax/upload/examples/async/validation/defaultcs.aspx?product=asyncupload has the same problem.

    My AsyncUpload control is specified as follows:

    <telerik:RadAsyncUpload ID="RadAsyncUpload1" runat="server"
                                        <Localization Select="<%$ Resources:Localization, AttachFile %>" />
                                        <Localization Cancel="<%$ Resources:Localization, Cancel %>" />
                                        <Localization Remove="<%$ Resources:Localization, Remove %>" />
    Is there something different I need to do in 2012.2 to get flash working?

    Andrew Dixon

  2. Plamen
    Plamen avatar
    2725 posts

    Posted 08 Aug 2012 Link to this post

    Hello Andrew,

    If you want to use Flash upload module with the latest version you can add the following code:

    <script type="text/javascript">
        Telerik.Web.UI.RadAsyncUpload.Modules.FileApi.isAvailable = function () { return false; }
     Telerik.Web.UI.RadAsyncUpload.Modules.Silvelight.isAvailable = function () { return false; }

    Please have in mind that in spite of the possibility above we strongly recommend using the default FileApi upload module because some errors may occur with some versions of the Flash plug-in.  

    As for the File filtering functionality- it is not supported yet under FileApi but one can still only select the desired file extensions despite all the files are seen in the pop up window.

    Hope this information will be helpful.
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. DevCraft R3 2016 release webinar banner
  4. Mohammed
    Mohammed avatar
    87 posts
    Member since:
    Aug 2011

    Posted 15 Aug 2012 Link to this post

    thanks I was searching for this information.
Back to Top