Autocomplete textbox using jquery in asp net

Поделиться
HTML-код
  • Опубликовано: 10 дек 2024

Комментарии • 70

  • @sandeepvasuli
    @sandeepvasuli 9 лет назад +5

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

    • @Csharp-video-tutorialsBlogspot
      @Csharp-video-tutorialsBlogspot  9 лет назад +1

      +sandeep maurya Thank you for the valuable feedback.
      Free Dot Net & SQL Server training videos for aspiring web developers
      ruclips.net/user/kudvenkatplaylists?view=1&sort=dd
      Download our high quality videos and slides for offline viewing
      www.pragimtech.com/Order.aspx
      Code Samples, Text Version of the videos & Slides on my blog
      csharp-video-tutorials.blogspot.com
      Tips to use our channel
      ruclips.net/video/y780MwhY70s/видео.html
      To receive emails, when new videos are uploaded, please subscribe to our channel using the link below
      ruclips.net/user/kudvenkat
      If you like our videos, please click the THUMBS UP button below the video
      Thanks for sharing the link with your friends who you think would also benefit from them
      Sharing is fun
      Thanks
      Venkat

  • @grantwilliams9838
    @grantwilliams9838 6 лет назад

    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.

  • @Csharp-video-tutorialsBlogspot
    @Csharp-video-tutorialsBlogspot  9 лет назад +10

    Autocomplete textbox using jquery in asp.net

    •  9 лет назад

      Gran aporte amigo :)

    • @haiderjaafer8164
      @haiderjaafer8164 9 лет назад +1

      kudvenkat's very beautiful work from you ... so can merge another column with the name in list so when i type letter M it show all names with M merged with its totalmarks...i need to do this idea ...thanks alot

    • @Csharp-video-tutorialsBlogspot
      @Csharp-video-tutorialsBlogspot  9 лет назад +3

      Haider Jaafer Modify the stored procedure.
      Alter proc spGetStudentNames
      @term nvarchar(50)
      as
      Begin
      Select Name + ' - ' + LTRIM(TotalMarks) as Name from tblStudents where Name like @term+ '%'
      End

  • @Rahim0472
    @Rahim0472 8 лет назад

    Really Amazing Work by Venkat....Never seen such Tutorials on RUclips

  • @Russellye5man1
    @Russellye5man1 6 лет назад

    Thank you - worked first time. For those having issues when using PlaceHolders, you need to append the reference of the ID of the textbox accordingly. My txtBox id = "txtSearchName", my placeholder ID is "ContentPlaceHolder1", therefore the JS call is: "#ContentPlaceHolder1_txtSearchName").autocomplete - Cheers!

    • @vutEwa
      @vutEwa 3 года назад

      why not use ClientID of the control?

  • @bawagrafix
    @bawagrafix 5 лет назад

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

  • @wissamfawzy6543
    @wissamfawzy6543 2 месяца назад

    Great work

  • @ahmedinooo
    @ahmedinooo 9 лет назад +1

    Excellent tutorial, thanks alot

  • @kunaldedhia5502
    @kunaldedhia5502 9 лет назад +2

    Thank you for all your generosity by sharing knowledge across the world. Would we be also getting few videos on Jquery Plugins...? It would be awesome to have them as well.

  • @danyesc7620
    @danyesc7620 6 лет назад

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

  • @rajkumarchavan6817
    @rajkumarchavan6817 7 лет назад

    Thanks a lot sir, it is very to implement search in asp.net after watching this vd.

  • @gallamex9316
    @gallamex9316 8 лет назад

    Excelent video

  • @amland3878
    @amland3878 7 лет назад +3

    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?

    • @KochharAmandeep
      @KochharAmandeep 7 лет назад

      Exactly what i was searching for in the comments! Please guide me if you found an answer to this

  • @jesussheepakash9289
    @jesussheepakash9289 3 года назад

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

  • @ankitagarwal2035
    @ankitagarwal2035 6 лет назад +4

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

    • @shebinKH
      @shebinKH 5 лет назад

      ANKIT AGARWAL thank you, bro !!

  • @BigyetiTechnologies
    @BigyetiTechnologies 9 лет назад +7

    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.

    • @vutEwa
      @vutEwa 3 года назад

      I believe that might be because the javascript he shows doesn't associate the value with a query string name. He showed javascript with source to the handler but it is missing the rest. So StudentHandler.ashx should read StudentHandler.ashx?term=

  • @erickosorio3019
    @erickosorio3019 8 лет назад

    Is great, thanks bro!!

  • @ganeshk500
    @ganeshk500 8 лет назад

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

  • @aamazingideasnational
    @aamazingideasnational 9 лет назад

    Hi Sir,
    Hats off to you!!
    Please post some videos on ANGULAR JS as well.
    Thanks,

  • @dinoeld3800
    @dinoeld3800 5 лет назад

    Thank you very much :D

  • @GokulVijayPVG
    @GokulVijayPVG 7 лет назад

    Some of them had commented that dropdown is value is not displaying. Its Bcoz of Javascript Version. You use the Following Link instead of Downloading the file.

  • @KoenBoyful
    @KoenBoyful 6 лет назад +1

    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.

  • @DataBeach
    @DataBeach 6 лет назад

    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?

  • @wojtekk1109
    @wojtekk1109 5 лет назад +1

    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?

  • @vamshikrishnabasani
    @vamshikrishnabasani 8 лет назад +2

    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.

  • @benjaminjaravacaly599
    @benjaminjaravacaly599 9 лет назад

    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
    ¿donde coloco el jquery?
    gracias si me puedes dar una mano..

  • @stkcansu3311
    @stkcansu3311 7 лет назад

    thank u so much...:)

  • @vutEwa
    @vutEwa 3 года назад

    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?

  • @KikeCerati
    @KikeCerati 4 года назад

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

  • @aliabdouislem
    @aliabdouislem 9 лет назад +1

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

  • @benjaminjaravacaly599
    @benjaminjaravacaly599 9 лет назад

    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
    Where to put the jquery?
    Thanks if you can give me a hand ..

  • @shivanandareddy2854
    @shivanandareddy2854 7 лет назад

    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

  • @drusttaib607
    @drusttaib607 5 лет назад

    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

  • @muhammadmateen4887
    @muhammadmateen4887 8 лет назад +1

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

    • @vutEwa
      @vutEwa 3 года назад

      indexing should help. 67000 records is peanuts... try MILLIONS of records

  • @gabrieleduardozunigacastil1952
    @gabrieleduardozunigacastil1952 7 лет назад +1

    i don't know why when im running the .ashx file works Great!, But... when im running the website while typing on the Textbox doen't changa anything... can you help me Master #Kudvenkat ???

  • @NSNegi-mt7rx
    @NSNegi-mt7rx 6 лет назад

    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

  • @softaimsinfotech5056
    @softaimsinfotech5056 7 лет назад

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

  • @sanjeevdwivedi9538
    @sanjeevdwivedi9538 9 лет назад

    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.

  • @mreggxi3644
    @mreggxi3644 8 лет назад

    can you guide me anythings about multi word autocomplete textbox ?

  • @JediPhantom
    @JediPhantom 9 лет назад

    is it possible to use a drop down list instead of a textbox, that filters the list as the user types a name

  •  6 лет назад

    Sir how show student pass or fail real-time by jquery

  • @gallamex9316
    @gallamex9316 8 лет назад

    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??
    $(document).ready(function () {
    $("#txtPrueba").autocomplete({
    source: 'Handler.ashx'
    });
    });

  • @owaishassan4812
    @owaishassan4812 7 лет назад

    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

  • @ajewahar
    @ajewahar 6 лет назад

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

  • @shravanipadigalla7205
    @shravanipadigalla7205 6 лет назад

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

  • @akashgupta1508
    @akashgupta1508 6 лет назад

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

  • @pradeepkumar-ez3vo
    @pradeepkumar-ez3vo 7 лет назад

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

  • @akashgupta1508
    @akashgupta1508 6 лет назад

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

  • @shambeldessale6464
    @shambeldessale6464 7 лет назад

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

    • @KochharAmandeep
      @KochharAmandeep 7 лет назад

      when you use a master page every control's id is changed. Use a property called ClientIDMode = "Static" for keeping the id same as you named

  • @fajarkurniawan5657
    @fajarkurniawan5657 7 лет назад

    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

    • @Hrshvardhn481216
      @Hrshvardhn481216 7 лет назад

      bro select * from tblstudents is table not procedure .it is used in procedures. thats y ur error saying create/alter procedure must be first statement

  • @gauranglondhe7873
    @gauranglondhe7873 9 лет назад

    KADAK.

  • @babyglimpse247
    @babyglimpse247 8 лет назад

    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.

    • @intanational101
      @intanational101 8 лет назад

      +Archana Sagare I am having the same problem; have you figured it out?

    • @michaelg8018
      @michaelg8018 8 лет назад

      I had the same problem,you must write the string variable 'term' just like in the video, not only in the procedure but also in the handler If you decide to change the name that will bring you all values

    • @devilcoastie8295
      @devilcoastie8295 7 лет назад

      Thank you Kudvenkat and Michael G,
      I too was experience the problem where the generic Handler was testing correctly, but the TextBox was returning all rows in my project. Michael's comment inspired me to exactly follow the tutorial and not change string term = context.Request["term"] ?? ""; to something more suited to my project which was: shelf.
      Oddly... after having a successful test, I changed all "term' to 'shelf' and the logic failed to pass the input to the stored procedure correctly. I am new to this functionally so I curious why: string term and ParameterName = "@term", Value = term is so finicky for passing data to the sprock parameter? It is as if there is matching on string term = @term.
      So... if anyone else is lost a bit of hair... do not vary from the lesson until successful, then make your modifications.

    • @gabrieleduardozunigacastil1952
      @gabrieleduardozunigacastil1952 7 лет назад

      amm a did the same as you said!! but the problem still the same, generic Handler works perfect but the textbox in my asp.net web form at running time doens't change while typing....