Solved

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

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
It’s a strangely common occurrence that when you send someone their login details for a system, they can’t get in. This article will help you understand why it happens, and what you can do about it.
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…

776 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