ClassXhtmlValidator
Class
Provide methods for XHTML validation
Definition
Namespace:Telerik.Reporting.Processing
Assembly:Telerik.Reporting.dll
Syntax:
cs-api-definition
public class XhtmlValidator
Inheritance: objectXhtmlValidator
Constructors
XhtmlValidator()
Declaration
cs-api-definition
public XhtmlValidator()
Methods
IsValidXhtml(string)
Determines if the provided markup is valid XHTML that HtmlTextBox can parse. If the provided value is an expression, true is returned.
Declaration
cs-api-definition
public static bool IsValidXhtml(string markup)
Parameters
markup
string
The XHTML markup.
Returns
bool
True if the XHTML is valid.
ValidateXhtml(string)
Determines if the provided markup is valid XHTML that HtmlTextBox can parse. If the XHTML parse operation fail exception is thrown. If the provided value is an expression, no exception is thrown.
Declaration
cs-api-definition
public static void ValidateXhtml(string markup)
Parameters
markup
string
The XHTML markup.