Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Commented Unassigned: Errors after upgrading from v.3 to v.15 [28039]

$
0
0
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.

Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>