Solved

Drop down list with ability to allow user to type as well

Posted on 2007-11-19
4
160 Views
Last Modified: 2010-04-06
I would like to allow users to be able to select a comment from a list of previously saved comments or be able to type in a new one. I would like a control that does that of a DropDownList but adds in a TextBox. Any ideas?
0
Comment
Question by:lonekawboy
  • 3
4 Comments
 
LVL 10

Expert Comment

by:dkloeck
ID: 20313399
It already exist.. create a ComboBox control and set DropDownStyle to DropDown
0
 
LVL 10

Expert Comment

by:dkloeck
ID: 20313417
and of course set the comments you want in the list with ComboBox1.Items.Add(..)
0
 

Author Comment

by:lonekawboy
ID: 20313428
This is ASP.NET.
0
 
LVL 10

Accepted Solution

by:
dkloeck earned 500 total points
ID: 20313806
In that case.. using ajax and combining textBox with ListBox you can do something fancy like this:
http://www.asp.net/AJAX/AjaxControlToolkit/Samples/AutoComplete/AutoComplete.aspx

it has another use in that page..but would be just a little different for what you want (and the fade out is really nice :D )
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

A Change in PHP Behavior with Session Write Short Circuit (http://php.net/manual/en/book.session.php#116217) (Winter 2014)** With the release of PHP 5.6 the session handler changed in a way that many think should be considered a bug.  See the note …
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
This video teaches users how to migrate an existing Wordpress website to a new domain.
Wufoo.com provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now