This is a migrated thread and some comments may be shown as answers.

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

4 Answers 67 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Reid
Top achievements
Rank 2
Reid asked on 02 May 2011, 03:48 PM
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

4 Answers, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 05 May 2011, 09:50 AM
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.

0
Reid
Top achievements
Rank 2
answered on 05 May 2011, 02:21 PM
HI,

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

Thanks,
Reid
0
Rumen
Telerik team
answered on 10 May 2011, 01:33 PM
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.

0
Reid
Top achievements
Rank 2
answered on 10 May 2011, 02:28 PM
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
Tags
Editor
Asked by
Reid
Top achievements
Rank 2
Answers by
Stanimir
Telerik team
Reid
Top achievements
Rank 2
Rumen
Telerik team
Share this question
or