RadEditor for ASP.NET

RadEditor Send comments on this topic.
SaveInFile Property
See Also 
Telerik.WebControls Namespace > RadEditor Class : SaveInFile Property


Gets or sets the value indicating whether the HTML content of the RadEditor will be saved into the ASCX/ASPX file.   

 

Namespace: Telerik.WebControls
Assembly: RadEditor (in RadEditor.dll)

Syntax

Visual Basic (Declaration) 
Public Property SaveInFile As Boolean
Visual Basic (Usage)Copy Code
Dim instance As RadEditor
Dim value As Boolean
 
instance.SaveInFile = value
 
value = instance.SaveInFile
C# 
public bool SaveInFile {get; set;}

Return Value

true when the HTML content will be saved into the ASCX/ASPX file; otherwise false. The default value is false.

Remarks

RadEditor have the ability to save its content directly into the ASCX/ASPX file where it is located. This behaviour is useful in simple content management systems. RadEditor can make its content XHTML compliant before saving if the SaveAsXhtml property is set to true.

To avoid errors when saving the RadEditor content into a file you should set the AllowScripts property to false.

The character encoding of the target files can be controlled by using the FileEncoding property.

Note: The ASP.NET process must have write permissions for the file where the RadEditor is located.

In more advanced scenarios where the content will be saved into a database or other storage system the content of the RadEditor can be accessed using the Html, Text and Xhtml properties.

Requirements

Platforms: Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also