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. AjaxControlToolkit AutoCompleteExtender

AjaxControlToolkit AutoCompleteExtender

Scheduled Pinned Locked Moved ASP.NET
csharpquestiondatabasevisual-studiohelp
5 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.
  • C Offline
    C Offline
    Crapaw45
    wrote on last edited by
    #1

    I've added the AutoCompletExtender using a webservice to a textbox and all is well, except, the list is long (maybe 20,000 records from a dataset). How can I add a scroll bar and limit the number of suggestions? I tried adding the following

    except when I tried to drag the scroll bar, it triggered the onlick event. Any help would be greatly appreciated. #AutoComplete { width: inherit; overflow: scroll; height: 200px; } Visual studio 2008 AjaxControlToolKit 3.5 C# Web Page Sql Dataset

    T 1 Reply Last reply
    0
    • C Crapaw45

      I've added the AutoCompletExtender using a webservice to a textbox and all is well, except, the list is long (maybe 20,000 records from a dataset). How can I add a scroll bar and limit the number of suggestions? I tried adding the following

      except when I tried to drag the scroll bar, it triggered the onlick event. Any help would be greatly appreciated. #AutoComplete { width: inherit; overflow: scroll; height: 200px; } Visual studio 2008 AjaxControlToolKit 3.5 C# Web Page Sql Dataset

      T Offline
      T Offline
      T M Gray
      wrote on last edited by
      #2

      Increase your MinimumPrefixLength. A dropdown with 20000 items isn't useful to anyone.

      C 1 Reply Last reply
      0
      • T T M Gray

        Increase your MinimumPrefixLength. A dropdown with 20000 items isn't useful to anyone.

        C Offline
        C Offline
        Crapaw45
        wrote on last edited by
        #3

        This is certainly a good suggestion; however, I would still be inerested in a scroll bar. ;)

        T 1 Reply Last reply
        0
        • C Crapaw45

          This is certainly a good suggestion; however, I would still be inerested in a scroll bar. ;)

          T Offline
          T Offline
          T M Gray
          wrote on last edited by
          #4

          The one that comes in the AjaxControlToolkit has a scrollbar already. AutoComplete[^] If you can't use that one, get the source for the toolkit and see how they implement it to provide taht scrollbar.

          C 1 Reply Last reply
          0
          • T T M Gray

            The one that comes in the AjaxControlToolkit has a scrollbar already. AutoComplete[^] If you can't use that one, get the source for the toolkit and see how they implement it to provide taht scrollbar.

            C Offline
            C Offline
            Crapaw45
            wrote on last edited by
            #5

            I've got the scroll bar working through thr CSS. Thanks for all your help.:thumbsup:

            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