Asp.net button click populate Autocomplete for a textbox
Posted
by Geetha
on Stack Overflow
See other posts from Stack Overflow
or by Geetha
Published on 2010-04-08T05:38:40Z
Indexed on
2010/04/08
5:43 UTC
Read the original article
Hit count: 176
jQuery
|autocomplete
Hi All,
I have created a keyboard using asp:button control. Onclientclick event it will display the corresponding text on the textbox. All these are working fine.
Needs:
I want to add autocomplete using jquery to a textbox. if i click the button [A] it has to display all the records with a.
This process is working if im using the system keyboard.
Code:
<link href="CSS/jquery.autocomplete.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jquery.autocomplete.js"></script>
$("#antSearchText").autocomplete('SearchAutoComplete.ashx');
<asp:Button ID="six" runat="server" Text="6" CssClass="myclass" OnClientClick="return typeLetter(this);" />
Geetha.
© Stack Overflow or respective owner