Using the AjaxControlToolkit in a .Net InMotion App

  1. Rename InMotion.Web.Features.dll to InMotion.Web.Features.Orig.dll.  This file is located in Program Files/CodeChargeStudio4/Components/CodeTemplates/VBInMotion/Library (or C#InMotion if you are using C#).
  2. Download and unzip this file and put it in same directory as the file you renamed.  In this .dll I changed the MTScriptManager to inherit from ToolkitScriptManager instead of ScriptManager. 
  3. Download and copy the AjaxControlToolkit .dlls (I’m using the 3.5 version) to the bin folder of your website.
  4. Within CodeCharge in the web.config add the following section within <system.web>

<pages>
  <controls>
    <add tagPrefix="mt" assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" />
  </controls>
</pages>

5. On a page in CodeCharge change to HTML view and insert an AjaxControlToolkit control.

I’ve only tested the CalendarExtender with the following line of code.

<mt:calendarextender id="CalendarExtender1" runat="server" targetcontrolid="s_StartDate" format="d" />