Questions tagged [drop-down-menu]

A GUI element, similar to a combobox and a list box, which allows the user to choose one value from a list. When a drop-down list is inactive, it displays a single value. When activated, it displays (drops down) a list of values, from which the user may select one.

Sometimes referred to as a pull-down menu, drop-down list, or drop-down box, a dropdown menu is a list of items that appear when clicking on a button or text selection. For example, many programs have a "File" drop down menu at the top left of their screen. Clicking on the "File" text generates a new menu with additional options.

Drop-down list on Wikipedia

Drop-down list image from Wikipedia

21877 questions
3
votes
0 answers

Ngx-bootstrap: Disable dropdown button when there are no options available

How do we disable the dropdown when there are no child options available? I have some code similar to the one below: Component.html
3
votes
1 answer

Understanding how DropDownListFor is working in MVC3

I'm new to MVC3 and have been working on a small site using EF and 'Code First'. I'm trying to do a few things in a view dealing with a drop down list and am wondering what the best way to go about them is. I want a user to be able to select a rule…
3
votes
1 answer

react dropdown using ref and select tag

I'm trying to make a drop down with select tag and which triggers when I click on it which is happening right now but I want to make that clickable even when the mouse click happens on its header which is in the same div). So for example if I click…
Leeladhar
  • 31
  • 1
  • 3
3
votes
3 answers

Bind Generic List to ASP.NET DropDownList

I am trying to bind generic list to DropDownList an i am not sure how to continue. here is my code: protected void Page_Load(object sender, EventArgs e) { List paths = new List(); paths = GetOriginalPaths(); …
tone
  • 1,535
  • 3
  • 15
  • 20
3
votes
1 answer

Flex selectedItem problems

I have encountered somthing a little strange in flex, possibly somthing im doing wrong but im not sure. In two cases which i have noticed, when there is only 1 item in a s:List or s:DropDownList for some reason when using list.selectedItem it…
Jon
  • 53
  • 4
3
votes
1 answer

Style for mat-menu not working in angular using angular material and flex css

I am trying to create a simple layout in angular 2 using angular material and flex css.. Below is my code...

SPACE…

Heena
  • 1,691
  • 13
  • 37
  • 56
3
votes
2 answers

How to create custom dropdownlist in Flutter?

I am still learning Flutter and I am trying to create a custom dropdownlist. Below is my custom dropdownlist and it seems to work and return the selected value but I still need help on how to show popup list when the inkwell is pressed. Also, how…
Edmand Looi
  • 3,331
  • 6
  • 19
  • 21
3
votes
1 answer

To allow multi select in Rhandsontable column dropdown

I am trying to build a application in R shiny, where I am using a handsontable to take inputs from users. One column in my handsontable is having dropdowns where I need multiple selection from the user. For example in my below sample code, I want…
3
votes
2 answers

Unable to select the elements in the language selector of Gmail homepage

I was just playing around automating gmail website using Selenium with Java and I was stuck at the language selection drop down in gmail home page. After selecting the dropdown, I am not able to select any specific language from the listbox as I am…
sri999
  • 31
  • 2
3
votes
4 answers

Why DropDownList.SelectedIndexChanged event does not fire?

I have a DropDown which is bounded to an ObjectDataSource. On its data bound event, I am adding "--select--" value on the 0 index. I have a LinkButton on the page and on its client click, i am selecting different item on drop down (using…
Jeevan Bhatt
  • 5,881
  • 18
  • 54
  • 82
3
votes
2 answers

Angular 5 select and default value with enum values

I am trying to set a default value at a select option with Angular 5. I have read about the [compareWith] but it does not seem to help. Here is the code: My enumeration: export enum EncryptionProtocol { NONE, SSL, TLS } My Config…
Investigator
  • 1,431
  • 2
  • 17
  • 24
3
votes
2 answers

Best practices for HTML dropdown menus and SEO impact

When doing HTML dropdown menus that are CSS specific, you have some unordered list type structure up near the top of the code. If your dropdown links to hundreds of pages, does having this large unordered list at the top of every page's code hurt…
Max
  • 191
  • 1
  • 2
  • 11
3
votes
1 answer

How to I get the user selected value from a drop-down box and add it to the model?

I have a form where the user is creating a new exam and in the form the user selects a subject from a drop down menu. This drop down contains strings of subjects not actual subject objects. In my program there are actual subject objects which have a…
Jill
  • 431
  • 4
  • 13
  • 33
3
votes
2 answers

BlackBerry Torch 9800 webkit browser issues with Javascript events

I seem to have a huge issue with the BlackBerry Torch 9800 webkit browser. That browser support HTML5 and javascript. The look of a web page developed for mobile device in HTML 5 looks the same for the iPhone, Android, and the Torch. But…
user506191
  • 31
  • 4
3
votes
1 answer

Inserting items into bootstrap-dropdown from SQL Table

I am working on asp.net project and my code behind language is c#. I have one bootstrap dropdown in which i want to get the items from SQL Table. is there anyone who will help me in this regard. thanks in advance.
Newton Suhail
  • 103
  • 2
  • 11
1 2 3
99
100