Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 ASP.NET
 Type value of Dropdownlist only uses first letter

Author  Topic 

bubberz
Constraint Violating Yak Guru

289 Posts

Posted - 2005-08-19 : 13:18:57
If I have dropdownlist values, and start type something like: "Ascott", I hit the "A" values on the first letter, but then start way down at the "S" values on the second letter entry of "s".

So, when I hit "a", I go to "Abraham" in the list. Now, if I hit "s", I'd like to be taken to "Ascott", but I'm taken all the way down to "Samuel" in the dropdownlist.

How can I fix this?

Thanks!

MichaelP
Jedi Yak

2489 Posts

Posted - 2005-08-19 : 14:52:50
I don't know if there is any way around this, even with javascript.

Michael

<Yoda>Use the Search page you must. Find the answer you will. Cursors, path to the Dark Side they are. Avoid them, you must. Use Order By NewID() to get a random record you will.</Yoda>
Go to Top of Page

bubberz
Constraint Violating Yak Guru

289 Posts

Posted - 2005-08-19 : 15:14:46
I've heard that with javascript it can be done, and also with autocomplete.
I've gotten several responses back about it, and a Google for ASP.NET dropdownlist autocomplete will return some stuff.

Thanks!
Go to Top of Page

jsmith8858
Dr. Cross Join

7423 Posts

Posted - 2005-08-19 : 16:12:43
This looks like it might do the trick:

http://www.dotnetjohn.com/articles.aspx?articleid=132
Go to Top of Page
   

- Advertisement -