Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1307
  • Last Modified:

Problems with the latest version of the AJAX Toolkit and the HTMLEditorExtender

Hi I'm really struggling with this installation being a mere developer!  Everything looks ok until I try to run the file with it in.  Searching around I'm told I need the sanitizer so I add the code for it to the web.config and then I get:

Could not load type 'AjaxControlToolkit.Sanitizer.
              AntiXssSanitizerProvider'.

When I google the error, I'm told I need the HtmlAgilityPack, so I installed that using NuGet and now I get:

InnerException: System.Web.HttpException
       Message=Could not load type 'AjaxControlToolkit.Sanitizer.HtmlAgilityPackSanitizerProvider'.

I have even commented out all the HTMLEditorExtender code so why am I getting this error?  I have added all the appropriate code to the web.config (as attached) and there is a folder in my bin called 'SanitizerProviders' which holds the HTMLAgilityPack.dll and SanitizerProviders.dll file.  Do I have to add any references anywhere else for this not to throw an error??  I haven't had much experience with .dlls so please, please advise what is wrong.

I'm using Web Developer Express 2010.
webconfig.txt
0
Lorna70
Asked:
Lorna70
  • 2
1 Solution
 
Lorna70Author Commented:
Not for AJAX - will nuget install the agility pack etc with AJAX?  Will that solve my problem do you think?
0
 
Lorna70Author Commented:
That didn't solve my problem so posted question in nuget forum - no response though and that was on the 16th.  So I've abandoned using the HTMLEditorExtender for now :-(
0
 
Roopesh ReddyCommented:
Hi,

You can try installing AjaxControlToolKit from Nuget - http://roopeshreddy.wordpress.com/2012/10/07/installingconfiguring-ajaxcontroltoolkit-through-nuget/

which installs the latest version of AjaxControlToolKit.

Also, you can try CkEditor - http://ckeditor.com/

Hope it helps u...
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now