ApplyFilter Method
The Apply Filter method allows you to accept HTML input from your users, filter it to make sure it contains only an allowed set of tags, attributes and values and then display it without leaving yourself open to XSS holes.

Namespace: RTE
Assembly: RichTextEditor (in RichTextEditor.dll) Version: 8.0.0.0 (8.0.0.0)

Syntax

C#
public string ApplyFilter(
	string htmlcode
)
Visual Basic
Public Function ApplyFilter ( _
	htmlcode As String _
) As String
Visual C++
public:
String^ ApplyFilter(
	String^ htmlcode
)

Parameters

htmlcode
Type: System..::..String

[Missing <param name="htmlcode"/> documentation for "M:RTE.Editor.ApplyFilter(System.String)"]

Return Value

[Missing <returns> documentation for "M:RTE.Editor.ApplyFilter(System.String)"]

See Also