Solved

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

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Thoughout my experience working on eCommerce web applications I have seen applications succumbing to increased user demand and throughput. With increased loads the response times started to spike, which leads to user frustration and lost sales. I ha…
These days, all we hear about hacktivists took down so and so websites and retrieved thousands of user’s data. One of the techniques to get unauthorized access to database is by performing SQL injection. This article is quite lengthy which gives bas…
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…
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.

860 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