Ajax控件工具包和Ajaxmin [英] Ajax Controls Toolkit and Ajaxmin

查看:113
本文介绍了Ajax控件工具包和Ajaxmin的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在学习如何在Visual Studio 10.0.40219.1 SP1Rel,.NET 4.0.30319 SP1Rel中的代码隐藏中使用通过VB.NET使用Ajax控件工具包。我去过很多网站,并使用AnimationExtender尝试了很多代码。该工具包随附的示例可以完美运行,但是在

I am learning how to use the Ajax Control Toolkit using VB.NET in code-behind in Visual Studio 10.0.40219.1 SP1Rel, .NET 4.0.30319 SP1Rel. I have been to many websites and tried lots of code, using the AnimationExtender. The sample that came with the toolkit works perfectly, but on

http://localhost:1049/

与我的浏览器中的查看代码 URL不同:

which is different from my "view code in browser" url:

http://localhost:4258/

当我更改时我的网址,我收到此错误:

When I change the url to mine, I get this error:

Could not load file or assembly 'AjaxMin, Version=4.97.4951.28478, Culture=neutral, PublicKeyToken=21ef50ce11b5d80f' or one of its dependencies. The system cannot find the file specified.

安装说明中没有任何提及。我无法运行我正在使用的页面来学习如何使用AnimationExtender。我很茫然,在Google或这里找不到类似的东西。

Nothing in the installation instructions mentions this. I can't run the page I'm using to learn how to use the AnimationExtender. I am at a loss, and I can't find anything like this on Google or here.

谢谢!

推荐答案

Matty建议检查示例项目的建议使我回到了将其解压缩的目录中,然后检查了文件AjaxControlToolkit.Binary.NET40.zip,其中包含AjaxMin.dll。文件中。我已经将文件移动到C:\Program Files\Microsoft Visual Studio 10.0\VB\Bin(我不知道该目录是否重要,它对我有用),然后在VS中将DLL添加为参考该项目。此后我遇到的一些错误与ajaxmin无关。

Matty's suggestion to check the sample project sent me back to the directory where I'd unzipped it, then checked the file AjaxControlToolkit.Binary.NET40.zip, which had the AjaxMin.dll file in it. I had admin move the file to C:\Program Files\Microsoft Visual Studio 10.0\VB\Bin (I don't know if that directory matters, it works for me), then in VS added the DLL as a reference to the project. The few errors I've gotten since are nothing to do with ajaxmin.

这篇关于Ajax控件工具包和Ajaxmin的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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