我如何使用“Ajax Control Toolkit” [英] How do I use "Ajax Control Toolkit"

查看:235
本文介绍了我如何使用“Ajax Control Toolkit”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经从NuGet管理器安装了Ajax Control Toolkit。

Ajax Control Toolkit驻留在参考文献中。

I have installed "Ajax Control Toolkit" from "NuGet" Manager.
"Ajax Control Toolkit" resides in References.

<ajaxToolkit:ComboBox ID="ComboBox1"  runat="server"
    DropDownStyle="DropDown"
    AutoCompleteMode="None"
    CaseSensitive="false"
    RenderMode="Inline"
    ItemInsertLocation="Append"
    ListItemHoverCssClass="ComboBoxListItemHover">
      <asp:ListItem>This</asp:ListIem>
      <asp:ListItem>That</asp:ListIem>
      <asp:ListItem>The Other</asp:ListIem>
</ajaxToolkit:ComboBox>





错误代码:



Error Code:

Element 'ComboBox' is not a known element. This can occur if there is a compilation error in the Web site, or the web.config file is missing.

推荐答案

您必须首先在webform中注册工具包,然后你可以使用集合中的控件和扩展器



如何在Web表单中注册ajax控件工具包 [ ^ ]
You have to register the toolkit in your webform first, and then you can use the controls and extenders from the collection

How to register ajax control toolkit in web forms[^]


这篇关于我如何使用“Ajax Control Toolkit”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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