Article information
Article relates to
RadEditor for ASP.NET AJAX in DotNetNuke
Created by
Rumen Zhekov
<property name="MaxImageSize">8000000</property>
You can set all standard properties - string, boolean, width, height, etc listed in this page (except these that are not inherited from System.Web.UI.Control) in the ConfigFile.xml. The properties that apply to file browser managers such as Document, Image, Template, etc are set with the following syntax in RadEditor for ASP.NET AJAX: RadEditor1.DocumentManager.ViewPaths = new string[] { "~/" }; RadEditor1.DocumentManager.UploadPaths = new string[] { "~/" }; RadEditor1.DocumentManager.MaxUploadFileSize = 1000; RadEditor1.DocumentManager.SearchPatterns = new string[] { "*.pdf,*.doc,*.aspx" }; However, these properties could not be set under the config file of RadEditor for DNN with this syntax. For that reason we decided to use the properties of RadEditor Classic that are meant for the managers configuration, e.g.
The default filters are *.doc, *.pdf.
There are two allowed wildcards:
<property name="DocumentsPaths"> <item>~/Path1</item> <item>~/Path2</item> ...etc. </property>
Resources Buy Try