什么是&QUOT解决方案;类型或命名空间'AjaxControlToolkit'找不到..."? [英] What is the solution for "The Type or namespace 'AjaxControlToolkit' could not be found..."?

查看:789
本文介绍了什么是&QUOT解决方案;类型或命名空间'AjaxControlToolkit'找不到..."?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

 错误3类型或命名空间名称'AjaxControlToolkit'找不到
 全局命名空间(是否缺少程序集引用?)
 D:\\我的应用程序\\表\\ PopUpdata.aspx.designer.cs 58 27表。

我宣布这个JavaScript,但什么问题。

 <%@页标题=显示数据从菜单LANGUAGE =C#的MasterPageFile =〜/的Site.MasterAutoEventWireup =真codeBehind = PopUpdata.aspx.cs继承=table.PopUpdata%GT;<%@注册大会=AjaxControlToolkit命名空间=AjaxControlToolkit标签preFIX =ASP%GT;


解决方案

方式来引用 DLL 是:


  1. 在Solution Explorer中,选择项目。

  2. 在项目菜单,单击添加引用。
       打开添加引用对话框。

  3. 选择表示要引用组件类型的标签。
       (如果您没有在列表中找到您的.dll,然后去浏览选项卡,找到它在你的目录)

MSDN的文章 ,包括已安装的库。

这是有另一种方式来做到这一点。

 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 have 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" %>

解决方案

Way to reference a dll is:

  1. In Solution Explorer, select the project.
  2. On the Project menu, click Add Reference. The Add Reference dialog box opens.
  3. Select the tab indicating the type of component you want to reference. (If you don't find your .dll in the list, then go to the browse tab and find it in your directory)

An article on MSDN to include installed libraries.

an There is another way to do it.

这篇关于什么是&QUOT解决方案;类型或命名空间'AjaxControlToolkit'找不到...&QUOT;?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆