Questions tagged [cascadingdropdown]

In graphical user interfaces, a typical collection of 'drop-down lists' or 'combo-boxes' which are connected in a hierarchical fashion. A well known example is a Country-State/Province-City combination.

A cascading drop-down is, in graphical user interfaces, a typical collection of 'drop-down lists' or 'combo-boxes' which are connected in a hierarchical fashion.

In a typical 3-control setup, for example, the values displayed in the third UI control depend on the selected value in the second control, whose available options in turn depend on the selected value of the first control. Whenever the first or second control changes its selected value, the dependent controls update their available options in response.

A Country / State-Province / City it is very well known example of this UI pattern.

496 questions
68
votes
1 answer

Easiest way to create a cascade dropdown in ASP.NET MVC 3 with C#

I want to create two DropDownList in a cascade using MVC3 (preferably Razor) with C#. I would like to have one dropdown where you can choose the year and another one where you can choose a specific set of months depending on the selected year. Let's…
CiccioMiami
  • 8,028
  • 32
  • 90
  • 151
14
votes
5 answers

How to populate a cascading Dropdown with JQuery

i have the following problem: I started to create a form with HTML an JS and there are two Dropdowns (Country and City). now i want to make these two dynamic with JQuery so that only the cities of the selected countries are visible. I've started…
user2609756
  • 165
  • 1
  • 1
  • 6
12
votes
1 answer

How to make cascading dropdown in a Angular Reactive Formarray work without messing the dropdown value

I have a form in angular 4 that containing First Name + Last Name and a formarray containing 2 dropdown(select) working as cascading dropdown and a delete button. The rest of the form also contains a send button and a add option button. I added a…
10
votes
1 answer

How do I force a Knockout subscribe to fire when the value doesn't change?

I have a set of cascading dropdown lists which are used to select a house address. We break apart the address in this order: Street Name (e.g. 10th, 11th, Main) Street Suffix (e.g. St, Ave) Street Direction Street Number (house number) I am using…
Mike Wills
  • 20,959
  • 28
  • 93
  • 149
10
votes
2 answers

Cascading dropdown lists in ASP.NET MVC 5

I am wondering if there's some new helper or method introduced in ASP.NET MVC 5 to implement cascading dropdown lists. I know a way to implement cascading dropdownlist behavior in MVC 3 and MVC 4 that is by using a JSON…
hotcoder
  • 3,176
  • 10
  • 58
  • 96
8
votes
2 answers

Plain JS Cascading selects of unknown depth

Wanted to make a generic cascading dropdown but am weak in recursion The code is supposed to end up with One select for items - clothes or gadgets - when a choice is made One select with either Levis/Gucci or LG/Apple - when a choice is…
mplungjan
  • 169,008
  • 28
  • 173
  • 236
8
votes
3 answers

Kendo UI Grid with Cascading DropDownList

I have a Kendo UI Grid on my Razor Layout which fetches data from the controller. In this grid I wish to have a set of 3 DropDownLists which are: ProductGroups, Products, Services The behaviour I wish to implement is, when I Add a row to the Grid, I…
TheBigCheese
  • 309
  • 1
  • 2
  • 14
7
votes
4 answers

ASP.NET MVC - Cascading Drop Down

I'm currently learning ASP.NET MVC and using Nhibernate. I would like to use Cascading Drop-Down Boxes. Has anyone managed to get cascading drop-down boxes working in MVC? Updated: I have looked at the following website: link text and used method…
Ros
  • 634
  • 3
  • 18
  • 34
6
votes
2 answers

Cascading drop down with KNOCKOUT.JS & ASP.NET MVC 4

I am following this tutorial: http://www.dotnetexpertguide.com/2012/06/cascading-dropdown-knockoutjs-aspnet.html The project provided works like a charm. It may be downloaded from…
sergej.art
  • 149
  • 1
  • 3
  • 11
5
votes
3 answers

Invalid postback or callback argument. When clicking button

I have a web page with various controls. Two of them are dropdownlists. The first dropdownlist gets populated from an xml file on the page_load event. This works fine. To the first dropdownlist a cascadingdropdownlist extender is attached which…
b3n
  • 3,805
  • 5
  • 31
  • 46
5
votes
1 answer

MVVM binding for cascading DropDownList

I have a web page with two kendoDropDownList using cascading. The first are States and the second Cities. When you choose a State then you are able the City to choose from the second DropDownList. This works perfectly well if I pick them using the…
OnaBai
  • 40,767
  • 6
  • 96
  • 125
4
votes
1 answer

Is there a simple way to create Chained Dynamic Drop Down List in Django Admin Site?

At this moment I am creating a project to learn how to use django. In this project there are three models: Category Subcategory Product And what I'm trying to achieve is to dynamically choose the corresponding subcategory after selecting the…
4
votes
1 answer

Cascading ComboBox in DataGrid with MVVM

My goal is to have a set of cascading comboboxes in WPF. I'm trying to use the MVVM model, but still learning. Some background information on the project. I'm trying to edit times for employees. So I have a list of Times for the selected employee in…
CR_eeper
  • 65
  • 8
4
votes
1 answer

Kendo grid data-source filtering based on cascading dropdown list selected value

I am working on Kendo UI,can anyone provide the solution how to update Kendo grid datasource based on cascading drop-down list selected value.In Kendo demos I found cascading dropdownlists examples. requirement: I have 3 dropdownlists,binding with…
dvv
  • 138
  • 2
  • 11
4
votes
1 answer

knockout.js - nested array data and cascading pre-populated dropdown lists binding

I'm fairly new to knockout.js, however, I've been happily using it in my ASP.NET MVC 4 project, until I ran into this obstacle which has been bothering me for a while, can't seem to put my finger on it. The scenario which I'm working on requires…
1
2 3
33 34