To enable the template management function of the Cute Editor control, you must set up a managed template gallery folder.
This is simply a folder in which you will be placing template files for your
users to use in their content. Create a folder in your application’s root
folder. (For most applications, this is your web server’s root folder) The
folder can be named something like /templates/, /template or
/UserTemplate.
Make sure that the Internet Guest Account has Read+Write permissions on this
folder and its contents.
You can easily specify the template gallery path using the following
methods:
The security policy file (default.config, admin.config and
guest.config) can be found in the CuteEditor_Files/Configuration/Security
folder. In security policy file you can find the TemplateGalleryPath
element which contains the template gallery path information within Cute
Editor. By default, it contains the following value:
<security
name="TemplateGalleryPath">~/templates</security>
You can modify the TemplateGalleryPath element to meet your own
requirements.
For example:
<security
name="TemplateGalleryPath">/MYtemplates</security>
Example:
//Programmatically specify the Template gallery path
editor.TemplateGalleryPath = "/Uploads"