ASP. NET editable input automatically matched drop-down box,. net drop-down box
1. Reference dll files
2. Apply this control to the aspx foreground page
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %> <%@ Register TagPrefix="qsf" Namespace="Telerik.QuickStart" %>
Residential Area:
<Telerik: radComboBox RenderMode = "Lightweight" ID = "DropDownList1" AllowCustomText = "true" AutoPostBack = "True" runat = "server" Width = "110px" Height = "400px" EmptyMessage = "please enter the cell name "OnSelectedIndexChanged =" inline "OnItemsRequested =" inline "MarkFirstMatch =" true "inline =" true "HighlightTemplatedItems =" true "DropDownCssClass =" exampleRadComboBox "> </telerik: radComboBox>
3. Bind The aspx. cs file to the drop-down box and select data from the drop-down list.
this.DropDownList1.DataSource = (new BLL_TArea()).GetAllAreaInfo(); this.DropDownList1.DataTextField = "AREANAME"; this.DropDownList1.DataValueField = "AREAGUID"; this.DropDownList1.DataBind(); DropDownList1.Items.FindItemByValue(BaseClass.Utility.Cookie.GetCookie("AreaGuid")).Selected = true;
Iii. Search Results
Before retrieval:
After retrieval:
The above is a small series of ASP. NET editable input automatic matching drop-down box, hope to help you, if you have any questions, please leave a message, xiaobian will reply to you in a timely manner. Thank you very much for your support for the help House website!