Skip to main content

All Questions

Tagged with
1 vote
1 answer
548 views

Cascading dropdowns are returning undefined in mvc

I know this question is on a lot of others here. But here is my issue regarding the matter. My Json Call in homecontroller: public JsonResult GetBrand(int id) { List<String> resultdata = new ...
fl13's user avatar
  • 83
2 votes
1 answer
1k views

Make drop down list dependent on another drop down in MVC Core

This is similar to the question asked Drop-down box dependent on the option selected in another drop-down box except I would like to use a C# class to keep a list of the drop down values rather than ...
Forrest's user avatar
  • 157
-1 votes
1 answer
1k views

ASP.NET MVC several DropDownListFor, page too slow. How to late bind or group?

I'm facing with a very hard problem (for me). I have a page in ASP.NET MVC with a list of contracts. For each contract I have 3 DropDown (Contract, Payee, Currency) These dropdown are used to ...
Lorenzo Moraldo's user avatar
2 votes
2 answers
144 views

Using DropdownListFor - Value is being set using Jquery, Displayed in Console too, but Null at Controller

Here is the Syntax of My Dropdown. @Html.DropDownListFor(model => model.DealerIdRef, Model.Ddllist, " Select Dealer ", new { @class = "form-control"}) i want its default selected value and make ...
Divya's user avatar
  • 1,213
4 votes
9 answers
5k views

asp.net dropdownlist caching for Huge data

I have to bind nearly 50k records to my asp.net dropdownlist and it has to be searchable. What is the best way to do implement it . Are there any caching techniques so that the list loads as we scroll?...
user1046415's user avatar
0 votes
0 answers
257 views

Populate a drop down list with JSON data using JQuery

As the title above says, I am currently trying to populate a drop down list with JSON data using JQuery, I tried adapting an example and came out with this code underneath however it's just populating ...
Jackington's user avatar
0 votes
1 answer
31 views

Filter/Slice DropdownList based on another Dropdownlist

Greetings and salutations, friends. I'm having a bit of trouble figuring out the solution to a DropdownList problem: I'd like to filter/slice a dropdownlist based on another dropdownlist. The image ...
Momentanius's user avatar
0 votes
1 answer
8k views

ASP.NET MVC cascading dropdown

I have three tables in my database as follows: University id Name 1 A 2 B Faculty id id_uni name 1 1 AA 2 1 AA cafedry id id_uni id_faculty name 1 ...
j.doe's user avatar
  • 1
0 votes
1 answer
24 views

ASPX DetailsView with DDL update to SQL Issue

Trying to find out if I am approaching this right (NOOB so be patient plz!) I'm trying to write a single aspx page with UserList1 (bind to SQLSource1.displayname) which updates DetailsView1 (Edit ...
Andre Oosthuizen's user avatar
0 votes
2 answers
69 views

When selected option from dropdown then how to hide that selected option into another dropdown using jQuery

<select> <option value = "volvo" > Volvo < /option> <option value = "saab" > Saab < /option> <option value = "vw" > VW < /option> <option ...
perry's user avatar
  • 1
1 vote
2 answers
4k views

Refresh Kendo dropdownlist after event change of another dropdownlist

When I change the value from the first ddl I get the data from Ajax of the other ddl but it doesnt refresh. This is my grid $("#grid").kendoGrid({ dataSource: height: 500, ...
Aldo M. Capitanachi's user avatar
0 votes
1 answer
51 views

Drop down not allowing multiple selected values in MVC5

this code does not allow me to select multiple items, how do I adjust it so that it can? How do I call the multiple selected items? The same way or a new way? Another thing that concerns me is the ...
user avatar
1 vote
1 answer
91 views

My Custom Dropdownlist does not have a value for Selected Index on submit

I'm creating a custom Dropdownlist in C# that will look nicer. I'm writing out a "ul" with each item as an "li" and having jQuery detect the click and update the actual select, which I render with a ...
John Pasquet's user avatar
  • 1,844
0 votes
1 answer
102 views

How to enable a second dropdownlist when a textbox has data and dropdownlist is selected?

I have a textbox #Email and I have two dropped down list menus that is #Carriers and #Phones. When the Email is entered I want to enable only Carriers drop box but not the Phones. When the Carriers is ...
Sandy2016's user avatar
0 votes
1 answer
400 views

DropDownList on mvc filters a display of cards/boxes, but I can't display all the cards on load or with default selection

I have a Partial View that can currently display three cards/boxes that contain snippets of information about different case studies. I want this page to on load, display all the cards, but then also ...
Kelsey Steele's user avatar

15 30 50 per page