c# - ajax combobox not working -
i trying use ajax combobox in asp.net web forms.
i have added ajax toolkit , can use other controls popupcontrolextender etc. when use combobox gives error saying combobox not known element.
i right-clicked on ajaxcontrol toolkit in toolbar--> choose items , verified combobox checked doesn't appear in toolbar
does know issue may or has faced similar problem ?
edit :
code :
<div> <asp:scriptmanager runat="server" id ="scriptmanager1" /> describe how spicy food: <br /> <cc1:combobox id="combobox1" runat="server"> <asp:listitem text="mild" value="0" /> <asp:listitem text="medium" value="1" /> <asp:listitem text="hot" value="2" /> </cc1:combobox> <%-- <asp:button id="btnsubmit" text="submit" runat="server" onclick="btnsubmit_click" />--%> </div>
also,i have added top of page after page directive :
<%@ register assembly="ajaxcontroltoolkit" namespace="ajaxcontroltoolkit" tagprefix="cc1" %>
any idea,anyone ?
Comments
Post a Comment