[RESOLVED]Html Ediro Extended Control

hi

i inistall ajax toolkit control for asp.net 3.5 when i used Html Editor Control i got this error

Sanitizer provider is not configured in the web.config file. If you are using the HtmlEditorExtender with a public website then please configure a Sanitizer provider. Otherwise, set the EnableSanitization property to false.

any help

thanks

We strongly recommend that you do not use the HtmlEditorExtender on a public website without using the AntiXSS Sanitizer Provider. If you do not use the AntiXss Sanitizer Provider then your website will be open to Cross-Site Scripting (XSS) Attacks.       

        The AntiXSS Sanitizer Provider is included in the SanitizerProviders folder with the CodePlex release of the Ajax Control Toolkit. You need to add a reference to all three assemblies contained in the folder: SanitizerProviders.dll, AntiXSSLibrary.dll,
and         HtmlSanitizationLibrary.dll.      

        You must add the following configuration sections to your Web.config file to enable the provider:     

<configuration>
<configSections>
  <sectionGroup name="system.web">
        <section name="sanitizer"
      requirePermission="false"
      type="AjaxControlToolkit.Sanitizer.ProviderSanitizerSection,
        AjaxControlToolkit"/>
      </sectionGroup>
</configSections>
<system.web>
        <compilation targetFramework="4.0" debug="true"/>
        <sanitizer defaultProvider="AntiXssSanitizerProvider">
                <providers>
                        <add name="AntiXssSanitizerProvider"
            type="AjaxControlToolkit.Sanitizer.
              AntiXssSanitizerProvider"></add>
                </providers>
        </sanitizer>
</system.web>
</configuration>

http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/HTMLEditorExtender/HTMLEditorExtender.aspx

http://stephenwalther.com/archive/2011/08/01/ajax-control-toolkit-july-2011-release-and-the-new-html.aspx

Leave a Reply