RadEditor for ASP.NET

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


Gets or sets the value indicating whether the RadEditor will insert a new line or a paragraph when the [Enter] key is pressed.   

 

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

Syntax

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

Return Value

true when the RadEditor will insert <br> tag when the [Enter] key is pressed; otherwise false. The default value is true.

Remarks

When the value of this property is set to true the RadEditor will insert <BR> tags; otherwise it will insert <P></P> tags.

Note: this property is intended for use only in Internet Explorer. The gecko-based browsers always insert <BR> tags.

Requirements

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

See Also