Autocomplete textbox using jquery in asp net

Autocomplete textbox using jquery in asp net

kudvenkat

8 лет назад

87,339 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@sandeepvasuli
@sandeepvasuli - 17.12.2015 16:17

best one sir.. very well worked for me.. inspired from your work.. thinking to create our own channel to indian developes

Ответить
@vutEwa
@vutEwa - 01.07.2021 05:50

thank you for sharing this. One question for you. Your javascript shows the source of the handler but doesn't specify the query string to be passed. How did that work without the javascript knowing what name the value being passed corresponds to?

Ответить
@jesussheepakash9289
@jesussheepakash9289 - 01.03.2021 20:32

Thank You Sir , God Jesus Christ Bless you and your family

Ответить
@alihemati2083
@alihemati2083 - 01.07.2020 21:15

hello. could you put an address to communicate with you? like email, number, .... I am a developer from Iran and if you were ok, I want to start to cooperate with you.

Ответить
@EnriquedeJesusDiazLedezma
@EnriquedeJesusDiazLedezma - 17.01.2020 03:58

Hi, Have you an example with DropDownList control?
Thanks a lot

Ответить
@bawagrafix
@bawagrafix - 31.10.2019 09:45

best one and awesome, looking for this particular tutorial. Thanks for sharing

Ответить
@wojciechkruk1103
@wojciechkruk1103 - 09.06.2019 18:48

Hi, Your code works excellent in web form without master page, but when i try to implement it to web form with master page, jquery doesn't work. Do You know why?

Ответить
@drusttaib607
@drusttaib607 - 18.05.2019 18:12

solution: for those who has (jQuery) error. add the jquery.js file to your project and link it to your project. the jquery.js is located in external/jquery.js

Ответить
@dinoeld3800
@dinoeld3800 - 16.01.2019 11:23

Thank you very much :D

Ответить
@NSNegi-mt7rx
@NSNegi-mt7rx - 16.11.2018 11:09

respected venkat sir

i shall be highly obliged to you if you kindly guide me on the following issue

i wrote your autocomplete text box using jquery by event handler
it is working fine as expected in a page which does not have the master page in the background

but when i am pasting the same in content page of a master page
it is not giving any result of dropdown autocomplete list

i shall be highly if you please give me the solution
with warm regards

Ответить
@ajewahar
@ajewahar - 24.10.2018 10:53

Hi .  autocomplete is not working with master page.  Any fix ?

Ответить
@ibrahimhammed4176
@ibrahimhammed4176 - 12.10.2018 10:50

Excellent tutorial. Thanks for posting. I tried to implement for a Content Page but the final step didn't work. everything was ok up to testing the Handler. What could be the issue?

Ответить
@MrJoze88
@MrJoze88 - 10.10.2018 07:48

Thank you so much !!!! I do really appreciate your work

Ответить
@danyesc7620
@danyesc7620 - 03.10.2018 22:21

Thanks a lot, bro..! Very useful..!

Ответить
@KoenBoyful
@KoenBoyful - 03.10.2018 14:40

I will try to explain this the best way I can. I am making a domain checker and that works for me, now I have a function that shows some of the domains I have in my var named "domains" once I type in a DOT 'because all the variables domains begin with a dot' all the domains will appear but when I write some text before I put the DOT it will not appear anymore. What do I have to change to let it show the text before the DOT? Here is the code I use, and some picture how it looks right now.

Ответить
@shravanipadigalla7205
@shravanipadigalla7205 - 05.06.2018 08:54

Hi sir,I want to clear cache for autocomplete pls help me how to clear that

Ответить
@grantwilliams9838
@grantwilliams9838 - 23.05.2018 12:41

Really appreciate all the tutorials you've made. My wife believes I'm your greatest fan in Australia. This tutorial really helped out with something at work.

Ответить
@akashgupta1508
@akashgupta1508 - 09.02.2018 14:18

jquery not appending input text as querystring thats why its showing all value in the table please help

Ответить
@akashgupta1508
@akashgupta1508 - 09.02.2018 14:16

not working showing all values of in the column of the table

Ответить
@ankitagarwal2035
@ankitagarwal2035 - 27.01.2018 14:22

Thanks it worked for me with slight change in code by adding ClientID as below
$("#<%=txtName.ClientID%>").autocomplete({

Ответить
@fajarkurniawan5657
@fajarkurniawan5657 - 23.09.2017 10:02

Select * from tblStudents

Create proc spGetStudentsNames
@term nvarchar(50)
as
Begin
Select Name
from tblStudents
where Name like @term + '%'
End

Msg 111, Level 15, State 1, Procedure spGetStudentsNames, Line 6
'CREATE/ALTER PROCEDURE' must be the first statement in a query batch.

help

Ответить
@amland3878
@amland3878 - 02.09.2017 05:28

The ashx is basically searching for the "term" in the query string and passing it as the input variable to the Stored Proc. The Jquery autocomplete function is taking the textbox text and sourcing it to the ashx handler which will search for the "term" variable in the query string. But where exactly are we assigning the textbox text into "term" variable ? the query string might have multiple variable passed, so how the handler function is identifying that as "term" ? or is it some default/automatic setup?

Ответить
@shivanandareddy2854
@shivanandareddy2854 - 30.08.2017 19:38

Hi sir
Your videos helped me a lot.
can you provide me link for similar like this in mvc-5
i have been searching throughout internet for autocomplete search textbox for mvc but i could not find it

Ответить
@shambeldessale6464
@shambeldessale6464 - 09.08.2017 17:58

Hi! I am tried this with a masterpage and entity framework but is not working can someone help me how?

Ответить
@pradeepkumar-ez3vo
@pradeepkumar-ez3vo - 02.06.2017 12:38

how to autocomplete a textbox when its present in .ascx page?

Ответить
@stkcansu3311
@stkcansu3311 - 01.06.2017 00:08

thank u so much...:)

Ответить
@softaimsinfotech5056
@softaimsinfotech5056 - 15.03.2017 19:13

hi venkat sir

my control id change in run time automatic so how to slow this problem?

Ответить
@owaishassan4812
@owaishassan4812 - 03.03.2017 09:28

i am getting No 'Access-Control-Allow-Origin' header is present on the requested resource error when i put some text in textbox

error appears in console

my Handler is in different project having different port

Ответить
@ganeshk500
@ganeshk500 - 13.11.2016 11:43

Hi Venkat, really helpful.... so can the 1st record get select in the auto completed list once hit tab button

Ответить
@erickosorio3019
@erickosorio3019 - 12.10.2016 01:32

Is great, thanks bro!!

Ответить
@muhammadmateen4887
@muhammadmateen4887 - 20.07.2016 17:31

thank alot sir, i have 67000 records and generic handler is taking too much time is there a way to make it faster?

Ответить
@gallamex9316
@gallamex9316 - 30.06.2016 20:00

hola una pregunta cuando corro el proceso en el textbox no me muestra la lista pero en el ashx si lo lo muestra que puede estar mal??

<script type="text/javascript">
$(document).ready(function () {
$("#txtPrueba").autocomplete({
source: 'Handler.ashx'
});
});
</script>

Ответить
@gallamex9316
@gallamex9316 - 30.06.2016 18:22

Excelent video

Ответить
@vamshikrishnabasani
@vamshikrishnabasani - 09.06.2016 07:19

Whatever the Text that is typed in the text box is not being passed as an argument to the generic handler....I have implemented the same code that is shown in the video.please help.

Ответить
@mreggxi3644
@mreggxi3644 - 27.05.2016 07:00

can you guide me anythings about multi word autocomplete textbox ?

Ответить
@babyglimpse247
@babyglimpse247 - 20.04.2016 08:56

It didn't worked from me..when i type a letter in textbox it show all values of database..it does not show only specific values..I did all things same as video.

Ответить
@aliabdou3332
@aliabdou3332 - 28.01.2016 13:25

great work,

help me please, how to get the Id when I click on the Name on the TextBox?

Ответить
@BigyetiTechnologies
@BigyetiTechnologies - 02.01.2016 18:31

Nope, this is not working for me. With the exception of the ADO using my database with different tables and column names, my code is identical. When I load the handler in the browser and add a term, it works fine. Just not on the textbox.

Ответить
@ahmedinooo
@ahmedinooo - 17.11.2015 23:18

Excellent tutorial, thanks alot

Ответить
@gauranglondhe7873
@gauranglondhe7873 - 16.09.2015 23:17

KADAK.

Ответить
@sanjeevdwivedi9538
@sanjeevdwivedi9538 - 11.09.2015 15:49

Thank you sir for this videos. its working good but i have a problem in that sir. the auto-complete contain above 1 Lakh record to show its working very slow to show record, so how could increase the performance in that. can you please tell us something in that. thank you.

Ответить
@benjaminjaravacaly599
@benjaminjaravacaly599 - 24.06.2015 00:54

Sorry,,, Kudvenkat Hello, I'm trying to implement auto video but do not understand why it does not work Textbox from the URL works well but since the form does nothing, I appreciate the help, I think jquery libraries are not worked. I am using a <asp: Content ID = "Content2" ContentPlaceHolderID = "mainContent" runat = "server">
Where to put the jquery?

Thanks if you can give me a hand ..

Ответить
@benjaminjaravacaly599
@benjaminjaravacaly599 - 23.06.2015 19:40

Hola Kudvenkat, estoy tratando de implementar el autocompletar del vídeo pero no logro entender por qué no funciona el Textbox, desde la Url funciona bien pero desde al formulario no hace nada, te agradezco la ayuda, creo que las librerías de jquery no están funcionado. estoy usando un <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server"> 
¿donde coloco el jquery?

gracias si me puedes dar una mano..

Ответить
@aamazingideasnational
@aamazingideasnational - 22.06.2015 10:10

Hi Sir,

Hats off to you!!

Please post some videos on ANGULAR JS as well.

Thanks,

Ответить