Flash DIalog not showing .FLV files - Upload Option not working

5 posts, 0 answers
  1. Reid
    Reid avatar
    436 posts
    Member since:
    Oct 2008

    Posted 02 May 2011 Link to this post

    Hello all,

    I have a few RadEditors in their respective EditTemplates in their respective RadGrids.  The ImageManager is able to correctly insert images into the Editor but the Flash DIalog does not see the .FLV files placed in it's configured folder.

    Here is the code:

    <telerik:RadEditor ID="ctrlRadEditorFeature" runat="server" DialogHandlerUrl="~/Telerik.Web.UI.DialogHandler.axd" 
    Skin="Default" AllowScripts="true" EditModes="All"  
    AutoResizeHeight="true" EnableResize="true">
      
        <Content  
        </Content>
      
        <ImageManager ViewPaths="~/Content/pages/uploads/images" UploadPaths="~/Content/pages/uploads/images" DeletePaths="~/Content/pages/uploads/images"/>
        <MediaManager ViewPaths="~/Content/pages/uploads/media" UploadPaths="~/Content/pages/uploads/media" DeletePaths="~/Content/pages/uploads/media" />
        <FlashManager ViewPaths="~/Content/pages/uploads/flash" UploadPaths="~/Content/pages/uploads/flash" DeletePaths="~/Content/pages/uploads/flash" />
        <TemplateManager ViewPaths="~/Content/pages/uploads/templates" UploadPaths="~/Content/pages/uploads/templates" DeletePaths="~/Content/pages/uploads/templates" />
        <DocumentManager ViewPaths="~/Content/pages/uploads/documents" UploadPaths="~/Content/pages/uploads/documents" DeletePaths="~/Content/pages/uploads/documents" />
        <SilverlightManager ViewPaths="~/Content/pages/uploads/silverlight" UploadPaths="~/Content/pages/uploads/silverlight" DeletePaths="~/Content/pages/uploads/silverlight" /> 
      
        <CssFiles  
          <telerik:EditorCssFile Value="~/Content/css/RadEditorContentArea.css" />   
        </CssFiles>
      
    </telerik:RadEditor>


    The dialog is empty of files.  I read this thread and found no resolve. 

    The Uploads option also does not work.  You can browse and select an upload but when you submit the resulting page is a "connection" problem.  Is there code behind that needs to be put in place for this?


    Thanks Telerik support,
    Reid
  2. Stanimir
    Admin
    Stanimir avatar
    1654 posts

    Posted 05 May 2011 Link to this post

    Hi Reid,

    I tested the problem, but unfortunately I was not able to reproduce it. For your convenience I created a small video where you can see my test: http://screencast.com/t/pLfwdHe2mz. I used the latest version of Rad Controls for ASP.NET AJAX 2011.1.413.35. Could you confirm that this is the one you are using?

    In addition make sure that the paths, configured in your code (~/Content/pages/uploads/flash), exist and have correct access rights.


    Regards,
    Stanimir
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  3. Reid
    Reid avatar
    436 posts
    Member since:
    Oct 2008

    Posted 05 May 2011 Link to this post

    HI,

    The paths are correct as you can see below.  I am using product version 2009.3.1314.35.

    Thanks,
    Reid
  4. Rumen
    Admin
    Rumen avatar
    13804 posts

    Posted 10 May 2011 Link to this post

    Hi Reid,

    The editor's managers shows and works with files that can be rendered and displayed by the browser, e.g. images, links, swf and movies. That's why by default it does not allow .flv / .fla files, because they are source code files and they cannot be rendered by the browser. You can populate the flash manager only with swf files as shown by Stanimir.

    If you would like to upload flv / fla files on the server, you should use the Document manager, and set the DocumentManager-SearchPatterns property to "*.flv,*.fla". When you upload the flv file on the server, you will be able to insert it as a link in the content area through the Document manager.

    Best wishes,
    Rumen
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  5. Reid
    Reid avatar
    436 posts
    Member since:
    Oct 2008

    Posted 10 May 2011 Link to this post

    Hi,

    I was using the wrong file extentions.  Using .swf as you mentioned works fine.  The Uploads portion also works fine now. 

    One note, the upload process was giving me a connection issue error prior to me reading your post when I was chosing files without the .swf extention.  Now it is prompting with a dialog infoming me that the file type was invalid when I choose files that are not .swf files.  Which is correct behaviour but it was not doing that before.  I did not change anything so it is a mystery why that dialog is displayed correctly now when it was not prior to me posting this thread.

    Anyways, working now, thanks.
    Reid
Back to Top