
Stewart Ellis
Top achievements
Rank 1
Stewart Ellis
asked on 08 Nov 2010, 09:06 PM
I keep my radEditor configuration in a.skin file. I have tried to set the allowed file extensions in the skin file using this syntax:
<DocumentManager UploadPaths="~/Docs" ViewPaths="~/Docs" DeletePaths="~/Docs" MaxUploadFileSize="1100000" SearchPatterns="*.doc,*.txt,*.docx,*.xls,*.xlsx,*.pdf,*.zip"/>
It does not work. I use the radEditor in multiple locations within the site, so I do not want to set the searchPatterns for each instance. How can I achieve this?
Thanks
<DocumentManager UploadPaths="~/Docs" ViewPaths="~/Docs" DeletePaths="~/Docs" MaxUploadFileSize="1100000" SearchPatterns="*.doc,*.txt,*.docx,*.xls,*.xlsx,*.pdf,*.zip"/>
It does not work. I use the radEditor in multiple locations within the site, so I do not want to set the searchPatterns for each instance. How can I achieve this?
Thanks
4 Answers, 1 is accepted
0
Hello Stewart Ellis,
You can use the following syntax in the skin file:
Kind regards,
Rumen
the Telerik team
You can use the following syntax in the skin file:
<telerik:RadEditor runat="server" DocumentManager-SearchPatterns="*.doc,*.txt,*.docx,*.xls,*.xlsx,*.pdf,*.zip"></telerik:RadEditor>
Kind regards,
Rumen
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
0

Stewart Ellis
Top achievements
Rank 1
answered on 09 Dec 2010, 11:02 PM
I tried that however my situation is that I need to link to image files, instead of pdfs or word docs. I tried DocumentManager-SearchPatterns="*.doc,*.txt,*.docx,*.xls,*.xlsx,*.pdf,*.jpg,*.png,*.gif" but the image files don't appear in the document manager.
Thanks
Stewart
Thanks
Stewart
0
Hi Stewart,
The solution works fine for images too. You can see my test in the following video: http://screencast.com/t/fyRNFwgyuV.
Note that the Document Manager could not preview Image Files. You can preview them only in the Image Manager.
Best regards,
Rumen
the Telerik team
The solution works fine for images too. You can see my test in the following video: http://screencast.com/t/fyRNFwgyuV.
Note that the Document Manager could not preview Image Files. You can preview them only in the Image Manager.
Best regards,
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

Stewart Ellis
Top achievements
Rank 1
answered on 13 Dec 2010, 03:20 PM
That did it - Thanks for the help...