简体   繁体   English

AjaxToolkit:无法将ajax工具包控件拖放到Web窗体

[英]AjaxToolkit: Can't drag and drop a ajax toolkit control to a webform

I set a reference to AjaxControlToolkit.dll and this added all of the toolkit's controls to my toolbar. 我设置了对AjaxControlToolkit.dll的引用,这将所有工具箱的控件添加到了我的工具栏中。 I then tried to drag and drop one of the controls to my webform and nothing happened-no error message, no control added to the form. 然后,我尝试将其中一个控件拖放到我的Web表单中,但没有任何反应-没有错误消息,也没有控件添加到表单中。 Double clicking the control also did nothing. 双击控件也没有执行任何操作。

The web site compiles with no errors, I also tried to bounce VS2008. 该网站编译没有错误,我还尝试过VS2008。 I am running Developers Edition on Windows Server 2008. 我在Windows Server 2008上运行Developers Edition。

I was able to add a Script Manager control 我能够添加脚本管理器控件

This worked w/o issue on my other computers. 这在我的其他计算机上没有问题。

Also, make sure you drop the tools into the source tab of your ASP page. 另外,请确保将工具拖放到ASP页的“源”选项卡中。 As many of these controls has no graphical representation. 由于许多控件没有图形表示。

Ajaxtoolkit controls in VS2008 are extenders of other controls. VS2008中的Ajaxtoolkit控件是其他控件的扩展。 Add the parent control first. 首先添加父控件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM