ASP.NET webform DropDownLists

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: MrMike (MrMike_at_discussions.microsoft.com)
Date: 11/10/04


Date: Wed, 10 Nov 2004 12:49:05 -0800

Hello. I have 2 questions about DropDownList controls in ASP.NET.

1. In Microsoft Access, dropdownlist controls allow the user to type into
the control, and then the control will subsequently accept the user input
solong as it matches a value in the list. Is this possible with ASP.NET ddl
controls? It seems to me like asp.net ddl controls only allow the user to
simply make a selection without letting them type anything.

2. Is there a way I can specify how a ddl control's .DataText field can be
sorted? Basically I have a ddl that displays values from a table, and I want
to be able to present end-users with alphabetically sorted values instead of
the default location of the items from the table.

Thanks



Relevant Pages

  • Re: Dynamic VB Code Behind
    ... 'Dynamic Master/Detail Controls', but as I started abstracting the ... In this case when the user selects which report they want to run from a ddl ... My code will read from sql that it needs to create a ddl ... 'save' the SelectedIndexChanged event code in sql and send it to an Execute ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Dropdownlist displaying / properties ?
    ... So if you a have a menu utilizing that in displaying, ... Another thing is that it's possible to develop custom DDL control ... goals "Should cover windowed controls such as plugins and select boxes.") ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • Re: Dropdownlist displaying / properties ?
    ... I just want the DDL be covered by the dropdown menu (when the menu was being ... just like other controls I have on the page. ... PopUp related to the DDL problem I have? ... > this is due those being windowed controls in IE which makes it bit ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • Dynamic Master/Detail Controls
    ... I have a web page on which I dynamically create controls based on the ... selection a user makes from a dropdownlist (this ddl is not dynamic). ... handler that will fire when the dynamic ddl postback to the server, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Dropdownlist displaying / properties ?
    ... Can you share how you did the custom DDL control, ... > that popup thingy is shown on top of windowed controls even top of frames ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)