Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Listbox sort property? 1

Status
Not open for further replies.

fiat2

Programmer
Nov 26, 2002
104
US
Hello All,
Using VS2005 & .NET 2.0

I have a list box on an .aspx page. This list box will contain numerous product entries. Is there a way to sort through it based on key entries from a user?

e.g.
Code:
a
a1
a4
ac (#4)
c  (#5)
c1
c2
etc...
So if the user were to key in 'ac' it would highlight entry # 4 rather than #5. Currently, it treats it keystroke as seperate entries, as an 'a' then 'c' rather than 'ac'

I hope this is clear. Please ask if it is not.

Thanks.
 
You would have to write code for that, most likely javascript. I'm sure there are examples out there. Also look into AJAX and the AJAX toolkit.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top