Note that there are some explanatory texts on larger screens.

plurals
  1. POASP.Net: Element <name> Is Not A Known Element
    primarykey
    data
    text
    <p>I've been trying to use the AutoComplete Extender from the ASP.NET Ajax Control Toolkit, however I've been having tons of trouble getting it to actually work. </p> <p>To install the AjaxControlToolKit, I've placed it inside my application's bin directoy, then I just dragged and dropped the control into the form. However, it keeps saying,</p> <p>"Element 'AutoCompleteExtender' Is Not A Known Element"</p> <p>So at first, I thought I had not registered it yet, but when I looked at the header, it was already there:</p> <pre><code>&lt;%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral,PublicKeyToken=31bf3856ad364e35" Namespace="System.Web.UI" TagPrefix="asp" %&gt; &lt;%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" tagprefix="ajaxToolkit"%&gt; </code></pre> <p>So I'm not sure at all, why its still giving me problems. </p> <p>Other assembly files in my bin folder include:</p> <p>System.Web.Extensions.ddl System.Web.Extensions.Design.dll</p> <p>Here's my code:</p> <pre><code>&lt;asp:TextBox ID="txtOrganization" runat="server" Width ="500px" MaxLength ="250"&gt;&lt;/asp:TextBox&gt; &lt;asp:ScriptManager ID="ScriptManager1" runat="server"&gt; &lt;Services&gt; &lt;asp:ServiceReference Path="AutoComplete.asmx" /&gt; &lt;/Services&gt; &lt;/asp:ScriptManager&gt; &lt;ajaxToolkit:AutoCompleteExtender runat="server" TargetControlID="txtOrganization" ServiceMethod="GetOrganizationList" ServicePath="AutoComplete.asmx"&gt;&lt;/ajaxToolkit:AutoCompleteExtender&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload