Solved

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

Posted on 2013-05-15
4
1,173 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 78

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

760 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

18 Experts available now in Live!

Get 1:1 Help Now