New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Definition

Namespace:Telerik.Web.UI.Editor

Inheritance: Telerik.Web.UI.Editor.EditorFindReplaceEngine

Methods

Initializes a new search on the provided string.

JS
find(String find, Boolean backwards): String
Parameters:findString

The search string

backwardsBoolean

Defines the direction of the search. If not true, search is always forwards.

Returns:

String

Important message (could be an error message) for the result fo the search

Does a forward search

JS
findNext(String find): String
Parameters:findString

The search string

Returns:

String

Important message (could be an error message) for the result fo the search

Does a backwards search

JS
findPrevious(String find): String
Parameters:findString

The search string

Returns:

String

Important message (could be an error message) for the result fo the search

Get whether find/replace will do case sensitive searches

JS
get_caseSensitive(): Boolean
Returns:

Boolean

Gets a reference to the Editor, where find/replace engine will search

JS
get_editor(): Telerik.Web.UI.RadEditor
Returns:

Telerik.Web.UI.RadEditor

Get whether engine will do a whole word search

JS
get_wholeWord(): Boolean
Returns:

Boolean

Initializes a new replace procedure on the content

JS
replace(String find, String replace, Boolean backwards): String
Parameters:findString

The search string

replaceString

The replacement string

backwardsBoolean

Defines the direction of the search

Returns:

String

Important message (could be an error message) for the result fo the replace

Does a replace all procedure, where all matched content will be replaced by the replace string.

JS
replaceAll(String find, String replace, Boolean backwards): String
Parameters:findString

The search string

replaceString

The replacement string

backwardsBoolean

Defines the direction of the search

Returns:

String

Important message (could be an error message) for the result fo the replace

Sets whether find/replace will do case sensitive searches

JS
set_caseSensitive(Boolean value): void
Parameters:valueBoolean

True for case sensitive search. Otherwise, false.

Sets a reference to the Editor, where find/replace engine will search

JS
set_editor(Telerik.Web.UI.RadEditor value): void
Parameters:valueTelerik.Web.UI.RadEditor

New reference to the RadEditor control

Set whether engine will do a whole word search

JS
set_wholeWord(Boolean value): void
Parameters:valueBoolean

True will search for whole words. Otherwise, false.

Not finding the help you need?
Contact Support