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

Compliance Check Dialog

As of R2 2018 the CSDialog dialog is no longer supported. In the previous couple of years, the third party content validating mechanism used by the dialog experienced multiples changes in terms of licensing and API, which made the maintainance of the tool impossible.

Starting from Q3 2010, RadEditor for ASP.NET AJAX offers a new Compliance Check Dialog (CSDialog) to verify the editor content. The compliance check dialog is developed by HiSoftware and integrates with their Compliance Sheriff product. The Accessible Editor demo page shows the RadEditor control with the compliance check tool (the green check mark in the editor toolbar).

Here are the steps to enable the Compliance Check Dialog in your application:

  1. Add the button named CSDialog to the toolbar of RadEditor. You can see how to add a button in this article: Adding Standard Buttons.

  2. Put the following CSDialog web service declaration in the Web.config file between the tags:

<system.servicemodel>
    <bindings>
     <customBinding>
      <binding name="wsHttpEndpointBasic">
       <textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16"
       messageVersion="Soap12" writeEncoding="utf-8">
        <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
        maxBytesPerRead="4096" maxNameTableCharCount="16384" />
       </textMessageEncoding>
      </binding>
     </customBinding>
     <wsHttpBinding>
      <binding name="wsHttpEndpointBasic1" closeTimeout="00:01:00"
      openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
      bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
      maxBufferPoolSize="524288" maxReceivedMessageSize="524288" messageEncoding="Text"
      textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">
       <readerQuotas maxDepth="32" maxStringContentLength="524288" maxArrayLength="16384"
       maxBytesPerRead="4096" maxNameTableCharCount="16384" />
       <reliableSession ordered="true" inactivityTimeout="00:10:00"
       enabled="false" />
       <security mode="None" />
      </binding>
     </wsHttpBinding>
    </bindings>
    <client>
     <endpoint binding="customBinding" bindingConfiguration="wsHttpEndpointBasic"
     contract="BasicServiceReference.Basic" name="wsHttpEndpointBasic" />
     <endpoint address=http://api.hisoftware.com/Service.svc binding="wsHttpBinding"
     bindingConfiguration="wsHttpEndpointBasic1" contract="BasicServiceReference.Basic"
     name="wsHttpEndpointBasic1">
     </endpoint>
    </client>
</system.servicemodel>

To unlock the dialog, contact HiSoftware for a CSApiKey key and register it in the appSetting web.config section as shown below:

<appSettings>
 <add key="CSApiKey" value="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"/>
</appSettings> 
In this article