What is the solution for "Type or namespace" AjaxControlToolkit "not found ..."?

 Error 3 The type or namespace name 'AjaxControlToolkit' could not be found
 in the global namespace (are you missing an assembly reference?)   
 D:\My App\table\PopUpdata.aspx.designer.cs 58 27 table.

I declared this javascript, but what is the problem.

<%@ Page Title="Show Data From Menu" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="PopUpdata.aspx.cs" Inherits="table.PopUpdata" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
+7
source share
6 answers

Reference Method a dll:

  • In Solution Explorer, select a project.
  • In the Project menu, click Add Link. The Add Link dialog box opens.
  • Select a tab indicating the type of component that you want to reference. (If you do not find your .dll in the list, go to the browse tab and find it in your directory)

article in the MSDN , to enable the installed libraries.

an , .

+13

AjaxControlToolkit

/ > NuGet.. > Ajax Control Toolkit.

.

+4

. bin, . . , .

+1

. AjaxControlToolkit.dll .

0

DLL

to solve this problem you should have 3 dll in the bin folder

1 - AjaxControlToolkit.dll

2 - AjaxControlToolkit.dll.refresh (Update file)

3 - AjaxControlToolkit (program debugging base)

enter image description here

Now just add the reflence AjaxControlToolkit.dll to your application.

0
source

Add AjaxControlToolkit.dllto the bin folder, and then clean the solution and rebuild the solution.

0
source

All Articles