/
(Draft) Upgrading old versions of AjaxControlToolkit

(Draft) Upgrading old versions of AjaxControlToolkit

Several legacy CivAv applications contain a very old (for example 4x) version of the AjaxControlToolKit;

<todo: note the errors that occur after AjaxControlToolkit is upgraded.

Upgrading to the latest supported in .NET 4.7.2 (for example 20.x):

  1. Uninstall the existing AjaxControlKit from the project.

  2. Install the latest version that is compatible with .NET 4.7.2

  3. Update the opening and closing tags in all of the aspx.files as noted below. This has to be done in 3 steps noted below because of some differences in individual files:
    To resolve errors reported for the designer VB files,
    For example “BC30002 : Type 'Global.AjaxControlToolkit.ToolkitScriptManager' is not defined.
    The cause of these errors is the following lines of code in the corresponding aspx.file(s).

    image-20250114-204927.png
    1. Do a global replace to rename
      <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server" EnableScriptGlobalization="True"

      to the line shown below.
      <asp:ScriptManager ID="ScriptManager1" runat="server" EnableScriptGlobalization="True">

    2. Delete CombineScripts="True" ScriptMode="Release">

    3. Perform a global replace of </asp:ToolKitScriptManager>
      to </asp:ScriptManager>

      After:

      image-20250114-205439.png



  4. Open and resave each .aspx file changed by step 3. This will cause the aspx.vb.designer files to be regenerated.

Related content

.NET 4x upgrade troubleshooting notes
.NET 4x upgrade troubleshooting notes
More like this
(Draft) Implementing MailKit in legacy applications
(Draft) Implementing MailKit in legacy applications
More like this
Setup and Checklist for maintenance changes (db/code)
Setup and Checklist for maintenance changes (db/code)
Read with this
Running NASDNET on localhost
Running NASDNET on localhost
More like this
CAPMS - SGPMC
Read with this
Running CAPMS-SGPMC on localhost
Running CAPMS-SGPMC on localhost
More like this