When I download the AjaxControlToolkit from http://ajaxcontroltoolkit.codeplex.com/ and unzip it there is no serviceprovider folder. From other posts I've seen it supposed to be there because it contain this SanitizerProviders.dll. Am I doing something wrong? Can anyone tell me what I can do to resolve this?
Comments: Hi, I believe the AjaxControlToolkit.Sanitizer.AntiXssSanitizerProvider has been deprecated in favour of AjaxControlToolkit.Sanitizer.HtmlAgilityPackSanitizerProvider. This should work for your web.config with recent versions of the toolkit: ``` <sanitizer defaultProvider="HtmlAgilityPackSanitizerProvider"> <providers> <add name="HtmlAgilityPackSanitizerProvider" type="AjaxControlToolkit.Sanitizer.HtmlAgilityPackSanitizerProvider" /> </providers> </sanitizer> ``` HTH
Comments: Hi, I believe the AjaxControlToolkit.Sanitizer.AntiXssSanitizerProvider has been deprecated in favour of AjaxControlToolkit.Sanitizer.HtmlAgilityPackSanitizerProvider. This should work for your web.config with recent versions of the toolkit: ``` <sanitizer defaultProvider="HtmlAgilityPackSanitizerProvider"> <providers> <add name="HtmlAgilityPackSanitizerProvider" type="AjaxControlToolkit.Sanitizer.HtmlAgilityPackSanitizerProvider" /> </providers> </sanitizer> ``` HTH