Class
RadEditor

A simple control wrapper for the RadEditor for the ASP.NET AJAX.

Definition

Namespace:Telerik.WebAii.Controls.Html

Assembly:Telerik.WebAii.Controls.Html.dll

Syntax:

cs-api-definition
public class RadEditor : HtmlContainerControl

Inheritance: objectControlHtmlControlHtmlContainerControlRadEditor

Inherited Members HtmlContainerControl.TextContentHtmlContainerControl.InnerTextHtmlControl.FindParentContainer<TContainerControl>()HtmlControl.ValidateTag(string)HtmlControl.ValidateControl()HtmlControl.ParseResponseValue<T>(string, T)HtmlControl.GetAttributeAsString(string)HtmlControl.InitializeMappings(MappingsCollection)HtmlControl.GetRectangle()HtmlControl.IsVisible()HtmlControl.GetStyleValue(string)HtmlControl.GetStyle(string)HtmlControl.GetComputedStyleValue(string)HtmlControl.GetComputedStyle(string)HtmlControl.Parent<TContainerControl>()HtmlControl.Capture()HtmlControl.Capture(string, string)HtmlControl.Capture(string)HtmlControl.InvokeEvent(ScriptEventType)HtmlControl.InvokeEvent(ScriptEventType, bool)HtmlControl.InvokeEvent(ScriptEvent)HtmlControl.InvokeEvent(ScriptEvent, bool)HtmlControl.AddEventListener(string, EventHandler<JavascriptEventArgs>)HtmlControl.RemoveEventListener(string, EventHandler<JavascriptEventArgs>)HtmlControl.MouseClick()HtmlControl.MouseClick(MouseClickType)HtmlControl.MouseClick(MouseClickType, int, int)HtmlControl.MouseClick(MouseClickType, Point, OffsetReference)HtmlControl.MouseClick(MouseClickType, int, int, OffsetReference)HtmlControl.MouseHover()HtmlControl.MouseHover(Point)HtmlControl.MouseHover(int, int)HtmlControl.MouseHover(int, int, OffsetReference)HtmlControl.Click()HtmlControl.Click(bool)HtmlControl.ScrollToVisible()HtmlControl.ScrollToVisible(ScrollToVisibleType)HtmlControl.ScrollToVisible(ScrollToVisibleType, Rectangle)HtmlControl.Download(bool, DownloadOption, string, int)HtmlControl.CallMethod(string)HtmlControl.CallMethod<T>(string)HtmlControl.CallMethod<T>(string, T)HtmlControl.GetValue<T>(string)HtmlControl.GetValue<T>(string, T)HtmlControl.GetValue<T>(string, bool)HtmlControl.GetValue<T>(string, bool, T)HtmlControl.SetValue<T>(string, T)HtmlControl.SetValue<T>(string, T, bool)HtmlControl.Focus()HtmlControl.DragTo(OffsetReference, Point, int, int)HtmlControl.DragTo(OffsetReference, int, int, Rectangle, OffsetReference, int, int)HtmlControl.DragTo(Point)HtmlControl.DragTo(int, int)HtmlControl.DragTo(HtmlControl)HtmlControl.DragTo(HtmlControl, OffsetReference, Point)HtmlControl.DragTo(OffsetReference, Point, HtmlControl)HtmlControl.DragTo(OffsetReference, Point, HtmlControl, OffsetReference, Point)HtmlControl.DragTo(OffsetReference, int, int, bool, HtmlControl, OffsetReference, int, int, bool)HtmlControl.DragToWindowLocation(OffsetReference, int, int, bool, OffsetReference, int, int, bool)HtmlControl.ToString()HtmlControl.AsjQueryControl()HtmlControl.GetElementByTagNameClientSideLocatorHtmlControl.GetElementByIdClientSideLocatorHtmlControl.FindHtmlControl.ScrollTopHtmlControl.ScrollLeftHtmlControl.WaitHtmlControl.IDHtmlControl.CssClassHtmlControl.AttributesHtmlControl.MappingsHtmlControl.StylesHtmlControl.EventsHtmlControl.TagNameHtmlControl.ChildNodesHtmlControl.IsActiveElementHtmlControl.IsEnabledControl.Refresh()Control.AssignFailed(Exception)Control.SetTelerikComponentsVersion(TelerikComponentsVersion?)Control.MatchControl(Element, FindParam)Control.GetFamilyElement(int, Element)Control.ThrowOnInvalidAssignmentControl.TelerikComponentsVersionControl.IsRefreshControl.BaseElementControl.OwnerBrowserControl.Locator

Constructors

RadEditor()

Initializes a new instance of the RadEditor class.

Declaration

cs-api-definition
public RadEditor()

RadEditor(Element)

Initializes a new instance of the RadEditor class.

Declaration

cs-api-definition
public RadEditor(Element element)

Parameters

element

Element

Properties

CleanHtml

Gets/Sets filtered html of RadEditor.

Declaration

cs-api-definition
public string CleanHtml { get; set; }

Property Value

string

ClientSideLocator

Gets the locator FindParam.

Declaration

cs-api-definition
public override string ClientSideLocator { get; }

Property Value

string

Overrides HtmlControl.ClientSideLocator

CommentsEnabled

Gets or sets whether the RadEditor comments are enabled.

Declaration

cs-api-definition
public bool CommentsEnabled { get; set; }

Property Value

bool

DecodedHtml

Gets/Sets decoded html of RadEditor.

Declaration

cs-api-definition
public string DecodedHtml { get; set; }

Property Value

string

EditModes

Gets/Sets which editor modes are included in RadEditor.

Declaration

cs-api-definition
public int EditModes { get; set; }

Property Value

int

EditType

Gets EditType.

Declaration

cs-api-definition
public EditorEditType EditType { get; }

Property Value

EditorEditType

Height

Gets/Sets RadEditor's height in pixels.

Declaration

cs-api-definition
public int Height { get; set; }

Property Value

int

Html

Gets/Sets html of RadEditor.

Declaration

cs-api-definition
public string Html { get; set; }

Property Value

string

IsFullScreen

Determines whether RadEditor is in FullScreen mode.

Declaration

cs-api-definition
public bool IsFullScreen { get; }

Property Value

bool

LocatorExpression

Gets the HtmlFindExpression that defines the pattern for a RadEditor.

Declaration

cs-api-definition
public override IFindExpression LocatorExpression { get; }

Property Value

IFindExpression

Overrides Control.LocatorExpression

Mode

Gets/Sets current RadEditor Mode.

Declaration

cs-api-definition
public EditorMode Mode { get; set; }

Property Value

EditorMode

SelectionHtml

Gets selected html.

Declaration

cs-api-definition
public string SelectionHtml { get; }

Property Value

string

SelectionText

Gets selected text.

Declaration

cs-api-definition
public string SelectionText { get; }

Property Value

string

Text

Gets the text of this RadEditor instance.

Declaration

cs-api-definition
public string Text { get; }

Property Value

string

ToolBarMode

Gets/Sets toolbar mode of RadEditor.

Declaration

cs-api-definition
public EditorToolBarMode ToolBarMode { get; set; }

Property Value

EditorToolBarMode

ToolCount

Gets the RadEditor tool count.

Declaration

cs-api-definition
public int ToolCount { get; }

Property Value

int

Width

Gets/Sets RadEditor's width in pixels.

Declaration

cs-api-definition
public int Width { get; set; }

Property Value

int

Methods

AssignElement(Element)

Assign the control element.

Declaration

cs-api-definition
public override void AssignElement(Element e)

Parameters

e

Element

The underlying element object.

Overrides HtmlContainerControl.AssignElement(Element)

ControlAssert()

Returns RadControlAssert instance initialized for this control.

Declaration

cs-api-definition
public RadControlAssert ControlAssert()

Returns

RadControlAssert

RadControlAssert instance initialized for this control.

FindDropDownByName(string)

Gets the the dropdown by its command name.

Declaration

cs-api-definition
public EditorDropDown FindDropDownByName(string commandName)

Parameters

commandName

string

The commnad name of the EditorDropDown.

Returns

EditorDropDown

EditorDropDown control.

FindSplitButtonByName(string)

Gets the the splitbutton by its command name.

Declaration

cs-api-definition
public EditorSplitButton FindSplitButtonByName(string commandName)

Parameters

commandName

string

The commnad name of the EditorSplitButton.

Returns

EditorSplitButton

EditorSplitButton control.

GetContextMenu()

Get RadContextMenu

Declaration

cs-api-definition
public RadMenu GetContextMenu()

Returns

RadMenu

SelectContextMenuItemByText(string)

Select ContextMenuItem by text

Declaration

cs-api-definition
public void SelectContextMenuItemByText(string item)

Parameters

item

string

ShowToolBar()

Shows toolbar, when toolbar mode is OnFocus or PageTop.

Declaration

cs-api-definition
public void ShowToolBar()