473,395 Members | 1,972 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

COMBO BOX INSTEAD OF DROP DOWN BOX

is there a combo box that a user can key something in or select from the drop down list? i added the webcontrol drop down but there is no property to allow the user to key into the text portion of the control.

thanks
Nov 18 '05 #1
3 1290
The problem is that HTML defines no such element, so ASP.NET can't really
create one. We've been wishing that HTML had a combobox ever since HTML
began, I think, and it still doesn't. It is possible, using positioning and
client side script to place a text box on top of a list box and more or less
mimick a combo box, and I suppose one could write a server control that
would do this. However, I have yet to see an implementation of this idea
that is anything but kludgy. My best advice is to think of another way to
design your UI so that you don't need a combo box.

HTH,
Ethan Adams
"Angel" <An***@discussions.microsoft.com> wrote in message
news:CE**********************************@microsof t.com...
is there a combo box that a user can key something in or select from the drop down list? i added the webcontrol drop down but there is no property to
allow the user to key into the text portion of the control.
thanks

Nov 18 '05 #2
Well, here somebody has really done it with DHTML:

http://www.dbcombo.net/

Still a little kludgy, but not bad.

-- Ethan

"Angel" <An***@discussions.microsoft.com> wrote in message
news:CE**********************************@microsof t.com...
is there a combo box that a user can key something in or select from the drop down list? i added the webcontrol drop down but there is no property to
allow the user to key into the text portion of the control.
thanks

Nov 18 '05 #3
This one is free with source from Andy Smith:

http://www.metabuilders.com/Tools/ComboBox.aspx

"ComboBox Control
This is an emulation of the Windows.Forms ComboBox. It is the combination of
a Textbox, with a DropDownList. For browsers with good script and css
support, the control will display as a normal ComboBox. For older browsers
or those with poor script or css support, the control will display as a pair
of controls, one TextBox and one DropDownList. Either way the serverside
progmattic interface will be the same."

"Angel" <An***@discussions.microsoft.com> wrote in message
news:CE**********************************@microsof t.com...
is there a combo box that a user can key something in or select from the
drop down list? i added the webcontrol drop down but there is no property
to allow the user to key into the text portion of the control.

thanks


Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: G.Gerard | last post by:
Hello Does anyone know how to get an entire memo field to be displayed in a combo box drop down list? Example - if the memo field contains the following : This is a test to see if
0
by: Jeremy Wallace | last post by:
Folks, Here's a write-up I did for our developer wiki. I don't know if the whole rest of the world has already figured out how to do this, but I hadn't ever seen it implemented, and had spent a...
1
by: kashifsulemani | last post by:
Combo Box DropDown Style. A combo box is bound to a data table field name. When combo box has simple / drop down style then bound is successful. Other hand if Combo box has drop down list...
13
by: mirandacascade | last post by:
I want to set things up such that a section of code will have been executed by the time one clicks on the drop down arrow on a combo box control. Currently, that section of code resides in the...
30
ADezii
by: ADezii | last post by:
This week’s Tip of the Week will clearly demonstrate how you can dynamically set the Drop Down List Width of a Combo Box to the length of the longest item in its Row Source. The inspiration for this...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.