RadControls for ASP.NET AJAX
The XhtmlValidator dialog uses the W3C XHTML Validator Page to perform validation of the current editor content. The W3C service returns a compliancy report right within the editor dialog. This feature eliminates the need for manual copy/pasting of the HTML and validation in a separate browser window.
You can enable this dialog by declaring the XhtmlValidator Tool in-line, adding it to the ToolsFile.xml or defining it programmatically:
CopyASPX
<telerik:radeditor id="RadEditor1" runat="server" skin="Default">
<Tools>
<telerik:EditorToolGroup>
<telerik:EditorTool Name="XhtmlValidator" Text="Xhtml Validator Dialog" />
</telerik:EditorToolGroup>
</Tools>
</telerik:radeditor>
CopyXML
<root>
<tools name="Main" >
<tool name="XhtmlValidator" />
</tools>
</root>
CopyC#
RadEditor1.Tools.Clear();
EditorToolGroup group = new EditorToolGroup();
RadEditor1.Tools.Add(group);
EditorTool tool = new EditorTool("XhtmlValidator");
group.Tools.Add(tool);
CopyVB.NET
RadEditor1.Tools.Clear()
Dim group As New EditorToolGroup()
RadEditor1.Tools.Add(group)
Dim tool As New EditorTool("XhtmlValidator")
group.Tools.Add(tool)