title: How to set image upload location in HtmlEditorExtender and enabling Sanitization stops debugging after referencing 3 dlls and editing web.config?
body: <p>Today I added HtmlEditorExtender to my asp.net web application everything works fine but i am facing two major problems in this:
  1. How can i set image upload location where the image will be uploaded by HtmlEditorExtender.
  2. I am not able to enable AntiXSS Sanitizer Provider for this HtmlEditorExtender i followed the methods on this page
  <a href="http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/HTMLEditorExtender/HTMLEditorExtender.aspx" rel="nofollow">asp.net ajax page</a></p>
  
  <p>but when i put this code in Web.config</p>
  
  <pre><code>&lt;sanitizer defaultProvider="AntiXssSanitizerProvider"&gt;
      &lt;providers&gt;
          &lt;add name="AntiXssSanitizerProvider" 
          type="AjaxControlToolkit.Sanitizer.
            AntiXssSanitizerProvider"&gt;&lt;/add&gt;
      &lt;/providers&gt;
  &lt;/sanitizer&gt;
  </code></pre>
  
  <p>this underlines <code>&lt;sanitizer&gt;</code> tag and on debugging it asks me to provide an Sanitizer.cs file and tells that 
  Could not load type 'AjaxControlToolkit.Sanitizer.AntiXssSanitizerProvider'. (C:\Users\saurav\Documents\Visual Studio 2010\Projects\sauravtopnet\sauravtopnet\web.config line 56)
  Locating source for 'c:\Users\Stephen\Documents\Repos\Superexpert\AjaxControlToolkit\Server\AjaxControlToolkit\HtmlEditorExtender\HtmlEditorExtender.cs'. Checksum: MD5 {79 93 7c d3 c7 ff b7 88 f af 76 3c 18 24 66 19}
  The file 'c:\Users\Stephen\Documents\Repos\Superexpert\AjaxControlToolkit\Server\AjaxControlToolkit\HtmlEditorExtender\HtmlEditorExtender.cs' does not exist.
  Looking in script documents for 'c:\Users\Stephen\Documents\Repos\Superexpert\AjaxControlToolkit\Server\AjaxControlToolkit\HtmlEditorExtender\HtmlEditorExtender.cs'...
  Looking in the projects for 'c:\Users\Stephen\Documents\Repos\Superexpert\AjaxControlToolkit\Server\AjaxControlToolkit\HtmlEditorExtender\HtmlEditorExtender.cs'.
  The file was not found in a project.
  Looking in directory 'D:\Program Files\Microsoft Visual Studio 10.0\VC\crt\src\'...
  Looking in directory 'D:\Program Files\Microsoft Visual Studio 10.0\VC\atlmfc\src\mfc\'...
  Looking in directory 'D:\Program Files\Microsoft Visual Studio 10.0\VC\atlmfc\src\atl\'...
  Looking in directory 'D:\Program Files\Microsoft Visual Studio 10.0\VC\atlmfc\include\'...
  The debug source files settings for the active solution indicate that the debugger will not ask the user to find the file: c:\Users\Stephen\Documents\Repos\Superexpert\AjaxControlToolkit\Server\AjaxControlToolkit\HtmlEditorExtender\HtmlEditorExtender.cs.
  The debugger could not locate the source file 'c:\Users\Stephen\Documents\Repos\Superexpert\AjaxControlToolkit\Server\AjaxControlToolkit\HtmlEditorExtender\HtmlEditorExtender.cs'.</p>
  
  <p>I should tell you that in
  c:\Users\Stephen\Documents\Repos\Superexpert\AjaxControlToolkit\Server\AjaxControlToolkit\HtmlEditorExtender\HtmlEditorExtender.cs
  Stephen is not any user on my system than why debugger is looking for this path.</p>
  
  <p>I added these two lines to my code behind page</p>
  
  <pre><code>using AjaxControlToolkit.Sanitizer;
  using Microsoft.Security.Application;
  </code></pre>
  
  <p>this is my ajax code</p>
  
  <pre><code>&lt;ajaxToolkit:HtmlEditorExtender
      ID="hee" EnableSanitization="true"
      TargetControlID="txtComments"
      Runat="server" &gt;
      &lt;Toolbar&gt; 
              &lt;ajaxToolkit:Undo /&gt;
              &lt;ajaxToolkit:Redo /&gt;
              &lt;ajaxToolkit:Bold /&gt;
              &lt;ajaxToolkit:Italic /&gt;
              &lt;ajaxToolkit:Underline /&gt;
              &lt;ajaxToolkit:StrikeThrough /&gt;
              &lt;ajaxToolkit:Subscript /&gt;
              &lt;ajaxToolkit:Superscript /&gt;
              &lt;ajaxToolkit:JustifyLeft /&gt;
              &lt;ajaxToolkit:JustifyCenter /&gt;
              &lt;ajaxToolkit:JustifyRight /&gt;
              &lt;ajaxToolkit:JustifyFull /&gt;
              &lt;ajaxToolkit:InsertOrderedList /&gt;
              &lt;ajaxToolkit:InsertUnorderedList /&gt;
              &lt;ajaxToolkit:CreateLink /&gt;
              &lt;ajaxToolkit:UnLink /&gt;
              &lt;ajaxToolkit:RemoveFormat /&gt;
              &lt;ajaxToolkit:SelectAll /&gt;
              &lt;ajaxToolkit:UnSelect /&gt;
              &lt;ajaxToolkit:Delete /&gt;
              &lt;ajaxToolkit:Cut /&gt;
              &lt;ajaxToolkit:Copy /&gt;
              &lt;ajaxToolkit:Paste /&gt;
              &lt;ajaxToolkit:BackgroundColorSelector /&gt;
              &lt;ajaxToolkit:ForeColorSelector /&gt;
              &lt;ajaxToolkit:FontNameSelector /&gt;
              &lt;ajaxToolkit:FontSizeSelector /&gt;
              &lt;ajaxToolkit:Indent /&gt;
              &lt;ajaxToolkit:Outdent /&gt;
              &lt;ajaxToolkit:InsertHorizontalRule /&gt;
              &lt;ajaxToolkit:HorizontalSeparator /&gt;
              &lt;ajaxToolkit:InsertImage /&gt;
          &lt;/Toolbar&gt;
      &lt;/ajaxToolkit:HtmlEditorExtender&gt;
  </code></pre>
  
  <p>this is my reference</p>
  
  <pre><code>&lt;%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %&gt;
  </code></pre>
  
  <p>and i already downloaded and added all three .dlls.</p>