New to Telerik UI for ASP.NET AJAXStart a free 30-day trial

FiltersManager Object

The FiltersManager object exposes the following public methods and properties to control its behavior:

FiltersManager Client-Side Methods

NameParametersReturn TypeDescription
addTelerik.Web.UI.Editor.FilterAdd a content filter to the filters collectionThe method takes the following arguments: filter - Instance of a Filter Object
addAtTelerik.Web.UI.Editor.Filter, NumberAdd a content filter to the filters collection at indexThe method takes the following arguments: filter - Instance of a Filter Object index - The index location where item should be inserted
clearClears the content filters collection
get_enableXhtmlFilterBooleanReturns a boolean value which indicates whether the XHTML filter is enabled or disabled
getDesignContentStringStringFires when RadEditor's mode is changed to Design View Mode and executes all the String based content filtersThe method takes the following arguments: contentAreaHtml - The RadEditor
getDesignContentDomObjectObjectFires when RadEditor's mode is changed to Design View Mode after getDesignContent() - executes all the DOM based content filtersThe method takes the following arguments: contentArea - The content area DOM element
getFilterAtNumberTelerik.Web.UI.Editor.FilterReturns the content filter from the given IndexThe method takes the following arguments: index - The index location of the filter in the FiltersCollection
getFilterByNameStringTelerik.Web.UI.Editor.FilterReturns the content filter by nameThe method takes the following arguments: name - Name of the filter
getHtmlContentObjectObjectFires when RadEditor's mode is changed to HTML View ModeThe method takes the following arguments: contentAreaElement - The content area DOM element
removeTelerik.Web.UI.Editor.FilterRemove content filter from the filters collectionThe method takes the following arguments: filter - Instance of a Filter Object
removeAtNumberRemoves a content filter from the filters collection by indexThe method takes the following arguments: index - The index location of the filter in the FiltersCollection
removeFilterByNameStringRemove content filter from the filters collectionThe method takes the following arguments: name - The name of the filter to be removed.
set_enableXhtmlFilterBooleanSets the state of XHTML filterThe method takes the following arguments: value - Boolean value to enable

See Also

In this article
See Also
Not finding the help you need?
Contact Support