Solved

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

Posted on 2013-05-15
4
1,200 Views
Last Modified: 2013-07-17
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
Comment
Question by:Lorna70
  • 2
4 Comments
 
LVL 79

Expert Comment

by:David Johnson, CD, MVP
ID: 39170463
0
 

Author Comment

by:Lorna70
ID: 39170764
Not for AJAX - will nuget install the agility pack etc with AJAX?  Will that solve my problem do you think?
0
 

Author Comment

by:Lorna70
ID: 39221644
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
 
LVL 23

Accepted Solution

by:
Roopesh Reddy earned 250 total points
ID: 39233372
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

OverviewThis article demonstrates a simple search form using AJAX. The purpose of the article is to demonstrate how to use the same code to render a page and javascript (JQuery) and AJAX to make subsequent calls to refine the results. The princip…
I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now