Home All Groups Group Topic Archive Search About

Web control which is a combobox with an editable portion

Author
22 Jun 2006 7:20 PM
Edward Diener
Is there a web control which is the equivalent of a drop down combobox
with an editable portion ? It seems backwards to have to use two
separate web controls, a drop down list and a textbox, to implement this
idea which has its own solution in a single control under Windows.

Author
22 Jun 2006 8:31 PM
Phillip Williams
No. There is not an HTML control equivalent to the Win Forms combo box.  You
have to design custom controls to do it.  Look at this sample using atlas in
asp.net 2.0:
http://www.webswapp.com/codesamples/aspnet20/atlas/cascading_autocomplete.aspx

Show quoteHide quote
"Edward Diener" wrote:

> Is there a web control which is the equivalent of a drop down combobox
> with an editable portion ? It seems backwards to have to use two
> separate web controls, a drop down list and a textbox, to implement this
> idea which has its own solution in a single control under Windows.
>
Author
22 Jun 2006 11:17 PM
Steve C. Orr [MVP, MCSD]
Unfortunately there is no ComboBox in HTML.  But you can create one using
JavaScript or use one that somebody else already wrote.
Here are some suggested resources for creating an ASP.NET combo box:
http://SteveOrr.net/articles/ComboBox.aspx
http://SteveOrr.net/articles/WinformControls.aspx
http://www.metabuilders.com/Tools/ComboBox.aspx
http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=45af5293-92d0-4ab2-b0aa-3e4b976b11dd

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net


Show quoteHide quote
"Edward Diener" <ediener@no_spam_incomm.com> wrote in message
news:ONIAfDjlGHA.3924@TK2MSFTNGP03.phx.gbl...
> Is there a web control which is the equivalent of a drop down combobox
> with an editable portion ? It seems backwards to have to use two separate
> web controls, a drop down list and a textbox, to implement this idea which
> has its own solution in a single control under Windows.
Author
24 Jun 2006 7:36 AM
Edward Diener
Steve C. Orr [MVP, MCSD] wrote:
> Unfortunately there is no ComboBox in HTML.  But you can create one using
> JavaScript or use one that somebody else already wrote.
> Here are some suggested resources for creating an ASP.NET combo box:
> http://SteveOrr.net/articles/ComboBox.aspx
> http://SteveOrr.net/articles/WinformControls.aspx

This is neat. Is this use of WinForm controls on WebForms documented
anywhere in MSDN ?

Show quoteHide quote