As with many asp.net applications, RichTextEditor makes use of the appSettings node in web.config file to store custom configuration settings that apply site wide. AppSettings is a predefined configuration section provided by the .NET framework.

The following is the list of available appSettings.

Key Description
RichTextEditorFolder
Sets the path where you want to store the RTE client script files.

Example:

<add key="RichTextEditorFolder" value="~/Scripts/richtexteditor/" />
RichTextEditorTempPath
Sets a temporary file location used for file uploading. Unlike standard ASP.NET HtmlInputFile control, AJAX Uploader does not read the entire uploaded file into memory. It streams the data into a temporary file while the data is received. For this reason, you must specify a temporary file location.

Example:

<add key="RichTextEditorTempPath" value="~/rtetemp" />
RichTextEditorLicense
Sets the path where you want to store the RTE license file.

Example:

<add key="RichTextEditorLicense" value="~/somefolder/richtexteditor.lic" />
DictionaryFolder
Sets the path where you want to store the RTE spell checker language files.

Example:

<add key="DictionaryFolder" value="~/myDictionaryFolder/" />
RichTextEditor.DisableAjaxGzip
Specifies whether to disable Gzip Compression. The use of Gzip Compression is enabled by default.

Example:

<add key="RichTextEditor.DisableAjaxGzip" value="True" />
RTE.AjaxUploader.GlobalMaxSizeKB
Sets the limit for the size of uploaded file, in kilobytes. This limit can be used to prevent denial of service attacks that are caused, for example, by users uploading large files to the server.

Example:

<add key="RTE.AjaxUploader.GlobalMaxSizeKB" value="1024" />
RTE.AjaxUploader.UploadSpeedKB
Specifies the maximum transfer rate in KB/s (kilobytes per second). By default, the uploader takes the maximum speed. You can set a low upload speed to test the uploader progress bar.

Example:

<add key="RTE.AjaxUploader.UploadSpeedKB" value="20" />
RTE.AjaxUploader.DefaultMaxSizeKB
Sets the limit for the size of uploaded file, in kilobytes. This limit can be used to prevent denial of service attacks that are caused, for example, by users uploading large files to the server.

Example:

<add key="RTE.AjaxUploader.DefaultMaxSizeKB" value="1024" />
RTE.AjaxUploader.TempDirectory
Sets a temporary file location used for file uploading. Unlike standard ASP.NET HtmlInputFile control, AJAX Uploader does not read the entire uploaded file into memory. It streams the data into a temporary file while the data is received. For this reason, you must specify a temporary file location.

Example:

<add key="RTE.AjaxUploader.TempDirectory" value="~/rtetemp" />
RTE.AjaxUploader.WindowsDomain
When uploading a file using this virtual folder pointing to UNC share, Impersonation need to be used due to Asp_wp account does not have access to the network resources by default. To impersonate a specific Windows user, you need to specify three required parameters: a domain name, username and password.

Example:

<add key="RTE.WindowsDomain" value="mydomain" />
RTE.AjaxUploader.WindowsUsername
When uploading a file using this virtual folder pointing to UNC share, Impersonation need to be used due to Asp_wp account does not have access to the network resources by default. To impersonate a specific Windows user, you need to specify three required parameters: a domain name, username and password.

Example:

<add key="RTE.WindowsUsername" value="myusername" />
RTE.AjaxUploader.WindowsPassword
When uploading a file using this virtual folder pointing to UNC share, Impersonation need to be used due to Asp_wp account does not have access to the network resources by default. To impersonate a specific Windows user, you need to specify three required parameters: a domain name, username and password.

Example:

<add key="RTE.WindowsPassword" value="mypassword" />
RTE.ImageEditor.TempFolder
Sets the temporary file location for Image Editor.

Example:

<add key="RTE.ImageEditor.TempFolder" value="~/rtetemp" />

Send feedback about this topic to CuteSoft. © 2003 - 2018 CuteSoft Components Inc. All rights reserved.