Solved

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

Posted on 2007-11-19
4
161 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ConsoleSql 1 34
Class object 2 27
Connection String 16 43
Wav problem 4 16
Developer tools in browsers have been around for a while, yet they are still heavily underused by developers. Developers still fix html or CSS then refresh page to see effect, or they put alert or debugger in JavaScript and then try again and again …
Introduction A frequently used term in Object-Oriented design is "SOLID" which is a mnemonic acronym that covers five principles of OO design.  These principles do not stand alone; there is interplay among them.  And they are not laws, merely princ…
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…

895 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

17 Experts available now in Live!

Get 1:1 Help Now