The text of this article is not in this database — only its details are. Read it on the old site: AutoComplete DropDown Using jQuery With C#
34 Comments
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
The text of this article is not in this database — only its details are. Read it on the old site: AutoComplete DropDown Using jQuery With C#
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
juan citoPosted Jun 20, 2022, 12:22 PM
It works perfectly! The only bad thing is that you don't see the typical "down arrow" dropdownlist button...Does anyone have an idea?
Jacobo CanoPosted Dec 21, 2021, 5:11 PM
Thank you!
SARDAR MUKHTARPosted May 11, 2019, 6:30 AM
After Post back JavaScript and CSS removed. Please check this code in Update Panel. And fix the bug. Thanks..
SARDAR MUKHTARPosted May 11, 2019, 6:30 AM
After Post back Java Script and CSS removed.
SARDAR MUKHTARPosted May 11, 2019, 6:29 AM
Not working in UpdatePanel.
Eldhose AbrahamPosted Jan 28, 2019, 1:05 AM
Not working
Bhavin PatelPosted Apr 19, 2018, 1:11 AM
This code is not working for me
sagar raoPosted Mar 27, 2018, 11:21 PM
Hi,the code is working fine, but problem is when the drop down post back is true the css are not append to drop down control. please suggest the solution.
k12 BilişimPosted Dec 19, 2017, 5:23 PM
Cenneti hak ediyorsun...
Carlos HPosted Oct 17, 2017, 10:14 AM
Hello, the code works perfect on my local server, when I publish on my server does not work, you know something? TypeError: $(...).chosen is not a function
QMobile SpecsPosted Jul 24, 2017, 4:50 PM
Great code it will help me in my web www.qmobilespecs.com
Jigar VadiwalaPosted May 18, 2017, 4:42 AM
Allow value OutSide list. how to allow in chosen.jquery FIle..
Minnu Merin AlexPosted Apr 28, 2017, 2:46 AM
This code is not working in ascx page ..why?
Riddhi ValechaPosted Feb 20, 2017, 3:59 AM
Hi...excellent example for user-friendly dropdownlist.... Just one query - Will this work with ajax update panel ?
Gursewak SinghPosted Dec 12, 2016, 5:08 AM
How can i do this by using database
Pratik PurohitPosted Mar 19, 2016, 6:34 AM
Put the below script after the </ContentTemplate> tag and before </asp:UpdatePanel> to use the autocomplete dropdownlist in update panel after post back.. <Triggers> <asp:PostBackTrigger ControlID="btnUploadSOW" /> </Triggers>
Riddhi ValechaPosted Feb 7, 2016, 6:42 AM
I am stuck up because - I have to make a auto-suggest dropdownlist - where the datasource of dropdownlist is the datatable. Please guide !
Riddhi ValechaPosted Feb 7, 2016, 6:41 AM
Hi... I downloaded this code ... But , I am not able to find = "chzn-select" class/method. This did not work...
Amit Kumar SinghPosted Feb 5, 2016, 11:59 PM
Check the above Code ......its working
Amit Kumar SinghPosted Feb 5, 2016, 11:58 PM
<head> <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/themes/base/jquery-ui.css" rel="stylesheet" type="text/css" /> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.11/jquery-ui.min.js"></script> <script type="text/javascript"> $(document).ready(function () { BindControls(); }); function BindControls() { var Countries = ['ARGENTINA', 'AUSTRALIA', 'BRAZIL', 'BELARUS', 'BHUTAN', 'CHILE', 'CAMBODIA', 'CANADA', 'CHILE', 'DENMARK', 'DOMINICA']; $('#tbCountries').autocomplete({ source: Countries, minLength: 0, scroll: true }).focus(function () { $(this).autocomplete("search", ""); }); } </script> <style> .ui-autocomplete { cursor: pointer; height: 120px; overflow-y: scroll; } </style> </head> <body style="font-size: 62.5%;"> <div style="font: 14px arial"> <input type="text" id="tbCountries" /> </div> </body> </html>
Anup KumarPosted Aug 24, 2015, 8:11 AM
I am getting the same problem Mr Chava Pipo. Is anybody is there who can help me to resolve this?
moh ghorPosted Jul 26, 2015, 10:41 AM
just worked in Firefox, in IE or chrome not worked
Tom TrobePosted Jul 1, 2015, 1:09 AM
This is an awesome article and works well. My only issue is that I am trying to put the <asp:DropDownList> within an <asp:UpdatePanel> and upon update panel refresh, the drop down returns to being a standard drop down. Do you know how to fix?
chava pipoPosted Jun 24, 2015, 6:02 PM
Es Genial, Me ayudo mucho, Muchas gracias [It's great, I helped a lot, thank you very much]
Mudzakkir TohaPosted Jun 12, 2015, 12:14 AM
not working at ie 8
hhh hhhPosted Jun 10, 2015, 9:03 AM
hi it's great but have problem that is it's donot accept null value ? why? i need to show me null or ' ' value too . how i fix it ?
smilu varghesePosted May 28, 2015, 2:41 AM
good.
juan cerdaPosted Mar 20, 2015, 2:58 PM
Excelente!!!
Pablo LaplacePosted Mar 5, 2015, 9:14 AM
In example file chosen-sprite.png is missing
raj vardhanPosted Feb 3, 2015, 8:56 AM
u explained well but its not working
Siva anandPosted Sep 25, 2014, 2:14 PM
@Prince ...... explained well..but it is not working when dropdown list is dynamically bound the data
Prince RajPosted Apr 14, 2014, 10:12 AM
Thank you all of my friends to view this article.