RadEditor for ASP.NET

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


Gets the collection containing the symbols to put in the Symbols dropdown.   

 

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

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property Symbols As SymbolCollection
Visual Basic (Usage)Copy Code
Dim instance As RadEditor
Dim value As SymbolCollection
 
value = instance.Symbols
C# 
public SymbolCollection Symbols {get;}

Return Value

A SymbolCollection containing the symbols to put in the Symbols dropdown. Default is an empty SymbolCollection.

Example

This example demonstrates how to put only the english alphabet symbols to the Symbols dropdown.
Visual BasicCopy Code
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    For i As Integer = 65 To 90
        RadEditor1.Symbols.Add(Convert.ToChar(i))
    Next
End Sub
C#Copy Code
private void Page_Load(object sender, EventArgs e)
{
   
for (int i=65; i<=90; i++)
   {
       RadEditor1.Symbols.Add(Convert.ToChar(i));
   }
}
    

Remarks

The contents of this collection will override the default symbols available in the Symbols dropdown.

Note: multiple symbols can be added at once by using the SymbolCollection.Add() method.

Requirements

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

See Also