How do I get it to work with my project?
我如何让它与我的项目一起工作?
http://ajax.asp.net/
http://www.codeplex.com/AjaxControlToolkit/
http://www.codeplex.com/AjaxControlToolkit/
5 个解决方案
#1
37
Install the ASP.NET AJAX Control Toolkit
安装ASP。NET AJAX控件工具包
-
Download the ZIP file AjaxControlToolkit-Framework3.5SP1-DllOnly.zip from the ASP.NET AJAX Control Toolkit Releases page of the CodePlex web site.
下载ZIP文件AjaxControlToolkit-Framework3.5SP1-DllOnly。zip从ASP。NET AJAX控件工具包将发布CodePlex网站的页面。
-
Copy the contents of this zip file directly into the bin directory of your web site.
将此zip文件的内容直接复制到web站点的bin目录中。
Update web.config
更新web . config
-
Put this in your web.config under the <controls> section:
把这个放到网上。
节下的配置: <?xml version="1.0"?> <configuration> ... <system.web> ... <pages> ... <controls> ... <add tagPrefix="ajaxtoolkit" namespace="AjaxControlToolkit" assembly="AjaxControlToolKit"/> </controls> </pages> ... </system.web> ... </configuration>
Setup Visual Studio
Visual Studio安装
-
Right-click on the Toolbox and select "Add Tab", and add a tab called "AJAX Control Toolkit"
右键单击工具箱,选择“添加选项卡”,并添加一个名为“AJAX控件工具包”的选项卡
-
Inside that tab, right-click on the Toolbox and select "Choose Items..."
在该选项卡内,右键单击工具箱并选择“选择项…”
-
When the "Choose Toolbox Items" dialog appears, click the "Browse..." button. Navigate to your project's "bin" folder. Inside that folder, select "AjaxControlToolkit.dll" and click OK. Click OK again to close the Choose Items Dialog.
当“选择工具箱项”对话框出现时,点击“Browse…”按钮。导航到项目的“bin”文件夹。在该文件夹中,选择“AjaxControlToolkit”。dll”并单击OK。再次单击OK关闭“选择项”对话框。
You can now use the controls in your web sites!
您现在可以在web站点中使用控件了!
#2
12
You can easily install it by writing
你可以很容易地通过写来安装它
Install-Package AjaxControlToolkit
in package manager console.
安装-包AjaxControlToolkit在包管理器控制台。
for more information you can check this link
有关更多信息,请查看此链接
#3
3
If you are using MasterPages and Content pages in your app - you also have the option of putting the ScriptManager on the Masterpage and then every ContentPage that uses that MasterPage will NOT need a script manager added. If you need some of the special configurations of the ScriptManager - like javascript file references - you can use a ScriptManagerProxy control on the content page that needs it.
如果您在应用程序中使用母版和内容页,您还可以在母版上放置ScriptManager,那么使用该母版的每个内容页都不需要添加脚本管理器。如果您需要ScriptManager的一些特殊配置——比如javascript文件引用——您可以在需要它的内容页面上使用ScriptManagerProxy控件。
#4
1
you will also need to have a asp:ScriptManager control on every page that you want to use ajax controls on. you should be able to just drag the scriptmanager over from your toolbox one the toolkit is installed following Zack's instructions.
您还需要在希望使用ajax控件的每个页面上都有一个asp:ScriptManager控件。您应该能够将scriptmanager从工具箱中拖出来,在Zack的指导下安装工具箱。
#5
1
It's really simple, just download the latest toolkit from Codeplex and add the extracted AjaxControlToolkit.dll
to your toolbox in Visual Studio by right clicking the toolbox and selecting 'choose items'. You will then have the controls in your Visual STudio toolbox and using them is just a matter of dragging and dropping them onto your form, of course don't forget to add a asp:ScriptManager
to every page that uses controls from the toolkit, or optionally include it in your master page only and your content pages will inherit the script manager.
它非常简单,只需从Codeplex上下载最新的工具包,然后添加提取的AjaxControlToolkit。在Visual Studio中,通过右键单击工具箱并选择“选择项”,将dll映射到您的工具箱。你在Visual STudio将控件工具箱,使用它们只是一个拖拽到表单,当然别忘了添加一个asp:ScriptManager每一个页面,该页面使用控件从工具箱,或可选地包括在你的主页和内容页面将继承脚本管理器。
#1
37
Install the ASP.NET AJAX Control Toolkit
安装ASP。NET AJAX控件工具包
-
Download the ZIP file AjaxControlToolkit-Framework3.5SP1-DllOnly.zip from the ASP.NET AJAX Control Toolkit Releases page of the CodePlex web site.
下载ZIP文件AjaxControlToolkit-Framework3.5SP1-DllOnly。zip从ASP。NET AJAX控件工具包将发布CodePlex网站的页面。
-
Copy the contents of this zip file directly into the bin directory of your web site.
将此zip文件的内容直接复制到web站点的bin目录中。
Update web.config
更新web . config
-
Put this in your web.config under the <controls> section:
把这个放到网上。
节下的配置: <?xml version="1.0"?> <configuration> ... <system.web> ... <pages> ... <controls> ... <add tagPrefix="ajaxtoolkit" namespace="AjaxControlToolkit" assembly="AjaxControlToolKit"/> </controls> </pages> ... </system.web> ... </configuration>
Setup Visual Studio
Visual Studio安装
-
Right-click on the Toolbox and select "Add Tab", and add a tab called "AJAX Control Toolkit"
右键单击工具箱,选择“添加选项卡”,并添加一个名为“AJAX控件工具包”的选项卡
-
Inside that tab, right-click on the Toolbox and select "Choose Items..."
在该选项卡内,右键单击工具箱并选择“选择项…”
-
When the "Choose Toolbox Items" dialog appears, click the "Browse..." button. Navigate to your project's "bin" folder. Inside that folder, select "AjaxControlToolkit.dll" and click OK. Click OK again to close the Choose Items Dialog.
当“选择工具箱项”对话框出现时,点击“Browse…”按钮。导航到项目的“bin”文件夹。在该文件夹中,选择“AjaxControlToolkit”。dll”并单击OK。再次单击OK关闭“选择项”对话框。
You can now use the controls in your web sites!
您现在可以在web站点中使用控件了!
#2
12
You can easily install it by writing
你可以很容易地通过写来安装它
Install-Package AjaxControlToolkit
in package manager console.
安装-包AjaxControlToolkit在包管理器控制台。
for more information you can check this link
有关更多信息,请查看此链接
#3
3
If you are using MasterPages and Content pages in your app - you also have the option of putting the ScriptManager on the Masterpage and then every ContentPage that uses that MasterPage will NOT need a script manager added. If you need some of the special configurations of the ScriptManager - like javascript file references - you can use a ScriptManagerProxy control on the content page that needs it.
如果您在应用程序中使用母版和内容页,您还可以在母版上放置ScriptManager,那么使用该母版的每个内容页都不需要添加脚本管理器。如果您需要ScriptManager的一些特殊配置——比如javascript文件引用——您可以在需要它的内容页面上使用ScriptManagerProxy控件。
#4
1
you will also need to have a asp:ScriptManager control on every page that you want to use ajax controls on. you should be able to just drag the scriptmanager over from your toolbox one the toolkit is installed following Zack's instructions.
您还需要在希望使用ajax控件的每个页面上都有一个asp:ScriptManager控件。您应该能够将scriptmanager从工具箱中拖出来,在Zack的指导下安装工具箱。
#5
1
It's really simple, just download the latest toolkit from Codeplex and add the extracted AjaxControlToolkit.dll
to your toolbox in Visual Studio by right clicking the toolbox and selecting 'choose items'. You will then have the controls in your Visual STudio toolbox and using them is just a matter of dragging and dropping them onto your form, of course don't forget to add a asp:ScriptManager
to every page that uses controls from the toolkit, or optionally include it in your master page only and your content pages will inherit the script manager.
它非常简单,只需从Codeplex上下载最新的工具包,然后添加提取的AjaxControlToolkit。在Visual Studio中,通过右键单击工具箱并选择“选择项”,将dll映射到您的工具箱。你在Visual STudio将控件工具箱,使用它们只是一个拖拽到表单,当然别忘了添加一个asp:ScriptManager每一个页面,该页面使用控件从工具箱,或可选地包括在你的主页和内容页面将继承脚本管理器。