Avatar of CipherIS
CipherISFlag for United States of America

asked on 

ASP.NET Use JQuery typeahead on asp.net dropdown box

Below is an example of an ASP.NET page I am working with.  I was looking at the jquery plugin typeahead.  Is it possible to integrate that to filter the dropdown box control?  I've been trying to find examples of how to integrate it but haven't found anything.  The example provided is using a hard coded list where I am pulling data from a database.

http://twitter.github.io/typeahead.js/examples/
http://plugins.jquery.com/typeahead.js/

<%@ Page Title="Maintenance" Language="C#" MasterPageFile="~/baseFrame.master" AutoEventWireup="true" Inherits="Maint" Codebehind="Maint.aspx.cs" %>
<%@ MasterType VirtualPath="~/baseFrame.master" %>
<%@ Register TagPrefix="uc1" TagName="docFolder" Src="docFolder.ascx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphHead" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphBody" Runat="Server">
<table class="smallList" width="95%" border="0">
	<tr align="center">
		<td class="instruction"><asp:label id="lblMessage" runat="server" EnableViewState="False"></asp:label></td>
	</tr>
	<tr align="center">
		<td>
			<table class="smallList" width="95%">
				<tr>
					<td vAlign="top" width="50%">
						<table width="100%">
							<tr>
								<td>Card Type</td>
								<td><asp:dropdownlist id="ddlcdType" runat="server"></asp:dropdownlist></td>
							</tr>
						</table>
					</td>
				</tr> 
			</table>
		</td>
	</tr>
</table>
</asp:Content>

Open in new window


Thanks
jQueryASP.NETAJAX

Avatar of undefined
Last Comment
dejaanbu
ASKER CERTIFIED SOLUTION
Avatar of dejaanbu
dejaanbu
Flag of Oman image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
ASP.NET
ASP.NET

The successor to Active Server Pages, ASP.NET websites utilize the .NET framework to produce dynamic, data and content-driven web applications and services. ASP.NET code can be written using any .NET supported language. As of 2009, ASP.NET can also apply the Model-View-Controller (MVC) pattern to web applications

128K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo