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

RadEditor SearchPatterns

1 Answer 100 Views
Editor
This is a migrated thread and some comments may be shown as answers.
blue
Top achievements
Rank 1
blue asked on 09 May 2011, 04:19 PM
Hi. We're using the RadEditor but it's not allowing the user to upload any PowerPoint files. Having searched the topic it would seem that it should be a fairly simple case of amending the SearchPatterns, but this seems to have no affect. Below are the two variations I have used;
DocumentManager-SearchPatterns="*.*"
DocumentManager-SearchPatterns="*.doc, *.txt, *.docx, *.xls, *.xlsx, *.pdf, *.pps, *.ppsx, *.ppt, *.pptx"

To be precise, this relates to the document manager that you reach if you go to add a hyperlink into the content, then select the attachment icon next to the url finder, then select upload. It always shows the default:
File extensions allowed: *.doc, *.txt, *.docx, *.xls, *.xlsx, *.pdf

Hope you can help.

Thanks,
Chris

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 11 May 2011, 05:15 PM
Hi Chris,

The following syntax is correct:
DocumentManager-SearchPatterns="*.*" 

As to the second one you should delete the empty spaces between the file types, e.g.
DocumentManager-SearchPatterns="*.doc,*.txt,*.docx,*.xls,*.xlsx,*.pdf,*.pps,*.ppsx,*.ppt,*.pptx"

You should also set the DocumentManager-ViewPaths="~/" DocumentManager-UploadPaths="~/" properties as shown in the following video: http://screencast.com/t/Z8tp5bp8NpE.

For your convenience I have attached my test project.

All the best,
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.

Tags
Editor
Asked by
blue
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or