Visual Studio 2005 + AjaxToolkit [英] Visual Studio 2005 + AjaxToolkit

查看:112
本文介绍了Visual Studio 2005 + AjaxToolkit的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个ASP.NET Web应用程序。我使用Visual Studio 2005构建它。我的一个用户控件需要AJAX控件工具包。但是由于某种原因,我的项目无法构建。但是,我引用了AjaxControlToolkit程序集。它出现在项目引用中。

I have an ASP.NET Web application. I am building it with Visual Studio 2005. One of my user controls requires the AJAX Control Toolkit. For some reason though, my project will not build. However, I have referenced the AjaxControlToolkit assembly. It is appearing in the project references.

有人对为什么不构建该应用程序有任何想法吗?

Does anyone have any ideas as to why this application will not build?

谢谢!

推荐答案

UpdatePanel是 System.Web.Extensions.dll 的一部分

The UpdatePanel is part of System.Web.Extensions.dll and does not need to be explicitly added to the bin folder of the project as it gets installed into the GAC (global assembly cache).

请参见 ASP .NET AJAX文档以获取更多信息。 ASP.NET 2.0 AJAX Extensions 1.0 msi可以在此处下载

See the ASP.NET AJAX documentation for more information. The ASP.NET 2.0 AJAX Extensions 1.0 msi can be downloaded here.

(我将在此处保留其余答案,因为它可能对其他人可能有用)

听起来好像页面未引用AJAX控制工具包。确保使用AjaxControlToolkit

It sounds like the AJAX Control Toolkit is not referenced in the page. Make sure you have

using AjaxControlToolkit;

在后面的代码中。

另外,您可能希望将此添加到 web.config

Also, you might want to add this to the web.config

<pages>
  <controls>
    <add tagPrefix="ajaxToolkit" namespace="AjaxControlToolkit" assembly="AjaxControlToolkit"/>
  </controls>
</pages>

这指定了在aspx标记中使用时AJAX控件工具包控件的标签前缀。

This specifies the tag prefix for the AJAX Control Toolkit controls when used in the aspx markup.

这篇关于Visual Studio 2005 + AjaxToolkit的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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