Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. textbox for searching in listbox

textbox for searching in listbox

Scheduled Pinned Locked Moved ASP.NET
csharpalgorithms
6 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    amina89
    wrote on last edited by
    #1

    Hello I have a listbox that I populate with ma BD(c#), since the list is long I want to introduce the search. I like to use a TextBox when if I write the word it will be automatically selected in list box Thank you for helping me.

    A 1 Reply Last reply
    0
    • A amina89

      Hello I have a listbox that I populate with ma BD(c#), since the list is long I want to introduce the search. I like to use a TextBox when if I write the word it will be automatically selected in list box Thank you for helping me.

      A Offline
      A Offline
      Abhijit Jana
      wrote on last edited by
      #2

      So, Why you are not going for AJAX ListSearchExtender ListSearchExtender[^]

      Cheers ! Abhijit Jana | MVP Web Site : abhijitjana.net | Follow Me @ twitter Don't forget to click "Good Answer" on the post(s) that helped you.

      A 1 Reply Last reply
      0
      • A Abhijit Jana

        So, Why you are not going for AJAX ListSearchExtender ListSearchExtender[^]

        Cheers ! Abhijit Jana | MVP Web Site : abhijitjana.net | Follow Me @ twitter Don't forget to click "Good Answer" on the post(s) that helped you.

        A Offline
        A Offline
        amina89
        wrote on last edited by
        #3

        Hi; Thank you very much Abhijit Jana . I never used ajax controls,their coding is the same as those of visual studio?

        A 2 Replies Last reply
        0
        • A amina89

          Hi; Thank you very much Abhijit Jana . I never used ajax controls,their coding is the same as those of visual studio?

          A Offline
          A Offline
          Abhijit Jana
          wrote on last edited by
          #4

          See before using AJAX in your web application make sure what is your requirment is. You can do the same using javascript also, I suggested AJAX because using that you can do it easily. You can go through some video from here to understand better http://www.asp.net/web-forms/ajax[^] Let me know if you need any more help :)

          Cheers ! Abhijit Jana | MVP Web Site : abhijitjana.net | Follow Me @ twitter Don't forget to click "Good Answer" on the post(s) that helped you.

          1 Reply Last reply
          0
          • A amina89

            Hi; Thank you very much Abhijit Jana . I never used ajax controls,their coding is the same as those of visual studio?

            A Offline
            A Offline
            Abhijit Jana
            wrote on last edited by
            #5

            Ohh. I found few ready solution for you :) This is exactly what you are looking for :) Search ListBox items using JavaScript [^] And If you want to use AJAX Searching a ListBox or DropDownList using the ListSearchExtender Control using ASP.NET AJAX[^] :thumbsup:

            Cheers ! Abhijit Jana | MVP Web Site : abhijitjana.net | Follow Me @ twitter Don't forget to click "Good Answer" on the post(s) that helped you.

            A 1 Reply Last reply
            0
            • A Abhijit Jana

              Ohh. I found few ready solution for you :) This is exactly what you are looking for :) Search ListBox items using JavaScript [^] And If you want to use AJAX Searching a ListBox or DropDownList using the ListSearchExtender Control using ASP.NET AJAX[^] :thumbsup:

              Cheers ! Abhijit Jana | MVP Web Site : abhijitjana.net | Follow Me @ twitter Don't forget to click "Good Answer" on the post(s) that helped you.

              A Offline
              A Offline
              amina89
              wrote on last edited by
              #6

              Thank you Abhijit Jana.

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups