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. ASP.NET Editable Drop Down List

ASP.NET Editable Drop Down List

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netdatabasetutorial
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.
  • J Offline
    J Offline
    J Liang
    wrote on last edited by
    #1

    Hi, Currently I am trying to create a drop down list which user could type in his/her desired words and the drop down list will filter accordingly and list down for the user. The item in the list is from the SqlDataSource which I use a stored procedure to call out the list of item to be populate in the drop down list. For example, the user type 'a', the words aeroplane, apple will be listed out but not ball, boy and when the user type 'ae', the word aeroplane will appear and not apple. I found some solutions but it is not working, maybe some of you had already done this, so I would really appreciate that you could share your experience with me. By the way, I am using C# ASP.NET. Thanks

    C L 2 Replies Last reply
    0
    • J J Liang

      Hi, Currently I am trying to create a drop down list which user could type in his/her desired words and the drop down list will filter accordingly and list down for the user. The item in the list is from the SqlDataSource which I use a stored procedure to call out the list of item to be populate in the drop down list. For example, the user type 'a', the words aeroplane, apple will be listed out but not ball, boy and when the user type 'ae', the word aeroplane will appear and not apple. I found some solutions but it is not working, maybe some of you had already done this, so I would really appreciate that you could share your experience with me. By the way, I am using C# ASP.NET. Thanks

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      There's a control in the ASP.NET AJAX library that does this.

      Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

      1 Reply Last reply
      0
      • J J Liang

        Hi, Currently I am trying to create a drop down list which user could type in his/her desired words and the drop down list will filter accordingly and list down for the user. The item in the list is from the SqlDataSource which I use a stored procedure to call out the list of item to be populate in the drop down list. For example, the user type 'a', the words aeroplane, apple will be listed out but not ball, boy and when the user type 'ae', the word aeroplane will appear and not apple. I found some solutions but it is not working, maybe some of you had already done this, so I would really appreciate that you could share your experience with me. By the way, I am using C# ASP.NET. Thanks

        L Offline
        L Offline
        Laddie
        wrote on last edited by
        #3

        the control name is Autocomplete Extender Here you can see the demo to see it is the same you are looking for. http://asp.net/AJAX/AjaxControlToolkit/Samples/AutoComplete/AutoComplete.aspx[^]

        Thanks Laddie Kindly rate if the answer was helpful

        J 1 Reply Last reply
        0
        • L Laddie

          the control name is Autocomplete Extender Here you can see the demo to see it is the same you are looking for. http://asp.net/AJAX/AjaxControlToolkit/Samples/AutoComplete/AutoComplete.aspx[^]

          Thanks Laddie Kindly rate if the answer was helpful

          J Offline
          J Offline
          J Liang
          wrote on last edited by
          #4

          Ok, I did saw those two ajax component, thanks for the confirmation that they can do what I'd been looking for, I shall try it. But the only thing is I not sure how to link the Autocomplete extender to a SqlDataSource, I dragged and drop the SqlDataSource but not sure the coding on how I link the Autocomplete to this SqlDataSource of mine. I read something about WebServices but not sure how I can use that to link the Autocomplete Extender with the SqlDataSource.

          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