Gets or sets the list of external CSS files that should be made available in the
editor's content area.
Namespace: Telerik.WebControls
Assembly: RadEditor (in RadEditor.dll)
Syntax
| Visual Basic (Declaration) | |
|---|
Public Property CssFiles As String() |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As RadEditor
Dim value() As String
instance.CssFiles = value
value = instance.CssFiles
|
| C# | |
|---|
public string[] CssFiles {get; set;} |
Return Value
A string array containing the names of the external CSS files that should be
available in the editor's content area.
Example
This example demonstrates how to set the CssFiles property from the
code-behind.
If you want to set it in the ASPX/ASCX use the following syntax
<rade:radeditor
cssfiles="~/styles/1.css,~/styles/2.css" ... ><rade:radeditor>
| Visual Basic | Copy Code |
|---|
RadEditor1.CssFiles = New String(2) {"~/styles/1.css", "~/styles/2.css"}
|
| C# | Copy Code |
|---|
RadEditor1.CssFiles = new string[2] {"~/styles/1.css", "~/styles/2.css"};
|
Remarks
Requirements
RadEditor 5.0 and above.
See Also