All Questions
93
questions
0
votes
1
answer
68
views
Call MVC actionResult with Dropdownlist visual basic
I want the dropdownlist to fire a call to the ActionResult after the onChange event, rather than submit the whole form to the server. the idea is, the selected item has to be sent to the server to ...
1
vote
1
answer
623
views
Onchange function in dropdownlist and displaying corresponding value in textbox
I want to display the value in texbox field everytime when I select data in dropdown field. Since I am a beginner to asp.net mvc its getting bit confused for me. Everytime I select some value from ...
0
votes
0
answers
729
views
Add jQuery DataTables rows with dropdown and input field for each row on click event?
Currently i have the following html table:
<body>
<button id="addRow" type="button" class="btn btn-info fa fa-plus"> </button>
<table id="ItemTable" class="...
0
votes
1
answer
56
views
Loading Dynamic Cascadding Dropdown In JQuery?
I am creating a category form, where I want to load dropdown list to be dynamic. After changing of the dropdown, I want to load all the child elements into a new dropdown, similarly, if it has no ...
-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 ...
0
votes
1
answer
192
views
ListBoxFor is case insensitive
In select I have 2 options with same text, but different case: test and TEST as example.
From server I receive only one selected item test. But on UI I see both test and TEST are selected.
var ...
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 ...
1
vote
0
answers
454
views
How to add data subtext to the drop down, list from data base
I have tried to build a drop down list with live search and i succeeded on that,And i also need a data sub-text to each item on the drop down list.
following code is my drop down list in html page
@...
-1
votes
1
answer
536
views
write a jQuery code, where I have to clone a div on button click. New div should have fresh new dropdown list
JQUERY:
$("#panel_moreInfoDetails_common3").clone().appendTo("#panel_moreInfoDetails_common2");
I am able to clone the div, but I need dropdown list in it. Notice that my dropdown options are in ...
0
votes
0
answers
147
views
Assign Dropdown equal to my label and how to adjust dropdown width?
I have designed a web with label and dropdown in MVC. I want to adjust the width of the dropdown box, and I want my dropdown to be displayed after my colon in the following design:
Emp Type : (I ...
0
votes
1
answer
533
views
Filter Chosen drop down by group selected by another drop down (using JQuery)
I have an ASP.NET MVC program which contains two drop down lists, Countries and Locations.
Both are populated from SelectLists stored in the ViewBag.
What I would like to do is filter the Locations ...
1
vote
2
answers
75
views
Cascading Drop down Racing , MVC Jquery
I'm working on MVC.Net project that has a page this page has two cascading dropdown lists (Dropdown A, Dropdown B) the main is Dropdown A. I implemented the cascading manually using Jquery Ajax in the ...
-1
votes
2
answers
3k
views
change dropdown list to checkbox in ajax jquery in mvc
In my project I used cascaded drop down list using jquery ajax and it works, but I need to change the second drop down list to checkbox to select the City based on the districts selected from the ...
0
votes
0
answers
28
views
Save the selected value of a drop down in global variable [duplicate]
How can I save the value of a selected dropdown in a global variable in MVC.I have to save the changed value in a variable named "no_of_days" whenever the value is changed.
@{
Layout = null;
...
4
votes
2
answers
1k
views
How to reset drop down list back to default when there is nothing in textbox?
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 ...