Groups | Blog | Home
all groups > asp.net building controls > january 2004 >

asp.net building controls : Pick text option.



skilesare
1/7/2004 4:08:23 PM
I don't have the code handy, but one of our developers here developed a
control that has both a text box and a ddl. When you type in the text box,
java script on the page finds the closest match in the ddl and sets the
focus. It works roughly the same.

-Austin

[quoted text, click to view]

B.Good
1/7/2004 4:43:16 PM
Hello all,

I am trying to create an option where a user is able select from a list of
options.
The user will be presented with a text box which they can freely type in.
What I would like to do is provide a button to the side of this text box
which would open a list from a table in SQL in a popup. Once the user
selects the option from the list, that option would then populate the Text
Box and the popup would disapear.
For instance... the Text Box might be asking for a Fruit. The user can
freely Type in whatever fruit they like (Banana), but if they choose, they
could click the button to obtain a list of fruits....such Apple, Orange, or
Strawberry. I only want the text of what they select to be copied...I don't
plan on any associations with IDs...this is a matter of convenience to the
user, but I don't want to limit them to a list either.

Any suggestions are greatly appreciated.

B.Good
1/8/2004 9:12:26 PM
Could you possibly post the code?
It sounds like a very interesting and sensible approach.


[quoted text, click to view]

AddThis Social Bookmark Button