After installing the latest version of the toolkit I am getting the errors on every line which uses its methods:
```
AjaxControlToolkit is not declared
```
Example:
```
suggestions.Add(AjaxControlToolkit.AutoCompleteExtender.CreateAutoCompleteItem(GetLoginEmailString(lCurItem), CType(lCurItem("LoginID"), String)))
```
Originally the project used DLL version 3.5.60501 from 2012. I downloaded and installed the latest version, copied the DLL into the References of the project and removed/re-added the reference. Then I followed the doc re upgrading to 15.1 by reverting from ToolkitScriptManager to asp:ScriptManager.
What am I doing wrong?
Comments: Please note that a project's target framework should be upgraded to v4.0 or above. The example you provided uses v3.5, which is incompatible with AJAX Control Toolkit v15.1. When I switched a target framework to v4.0, the project ran without errors.
```
AjaxControlToolkit is not declared
```
Example:
```
suggestions.Add(AjaxControlToolkit.AutoCompleteExtender.CreateAutoCompleteItem(GetLoginEmailString(lCurItem), CType(lCurItem("LoginID"), String)))
```
Originally the project used DLL version 3.5.60501 from 2012. I downloaded and installed the latest version, copied the DLL into the References of the project and removed/re-added the reference. Then I followed the doc re upgrading to 15.1 by reverting from ToolkitScriptManager to asp:ScriptManager.
What am I doing wrong?
Comments: Please note that a project's target framework should be upgraded to v4.0 or above. The example you provided uses v3.5, which is incompatible with AJAX Control Toolkit v15.1. When I switched a target framework to v4.0, the project ran without errors.