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. How to search listbox entry according to the textbox value

How to search listbox entry according to the textbox value

Scheduled Pinned Locked Moved ASP.NET
tutorialcsharpvisual-studioquestion
4 Posts 3 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.
  • K Offline
    K Offline
    kandalu
    wrote on last edited by
    #1

    Hi all, I am using Visual Studio 2005 and .net 2.0. I want to scroll down the listbox items according to the value in the textbox entry. For example, if we type "a" in the textbox, the listbox entries which starts from "a" should be listed. Is it possible with dropdown list control? Shall we add items to dropdownlist controls at runtime? Please guide me. Thanks.

    E P 2 Replies Last reply
    0
    • K kandalu

      Hi all, I am using Visual Studio 2005 and .net 2.0. I want to scroll down the listbox items according to the value in the textbox entry. For example, if we type "a" in the textbox, the listbox entries which starts from "a" should be listed. Is it possible with dropdown list control? Shall we add items to dropdownlist controls at runtime? Please guide me. Thanks.

      E Offline
      E Offline
      eyeseetee
      wrote on last edited by
      #2

      kandalu wrote:

      Shall we add items to dropdownlist controls at runtime?

      Yes or you could sort them by the letter a. A query would help you here so that when you populdate the dropdownlist from the database you can select by and order by the letter 'a' for example.

      The answers posted by me are suggestions only and cannot be used in anyway against me.

      1 Reply Last reply
      0
      • K kandalu

        Hi all, I am using Visual Studio 2005 and .net 2.0. I want to scroll down the listbox items according to the value in the textbox entry. For example, if we type "a" in the textbox, the listbox entries which starts from "a" should be listed. Is it possible with dropdown list control? Shall we add items to dropdownlist controls at runtime? Please guide me. Thanks.

        P Offline
        P Offline
        Prasanna Kumar Pete
        wrote on last edited by
        #3

        You can use javascript base XMLDOM approch (AJAX) to achieve the task :):)

        Thanks & Regards Pete

        K 1 Reply Last reply
        0
        • P Prasanna Kumar Pete

          You can use javascript base XMLDOM approch (AJAX) to achieve the task :):)

          Thanks & Regards Pete

          K Offline
          K Offline
          kandalu
          wrote on last edited by
          #4

          Hi, Thanks for your reply. I don't know about AJAX. Is there any alternative ways other than using AJAX? Could you please refer me some useful websites which briefly explain AJAX? Thanks.

          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