Top "Html.dropdownlistfor" questions

Returns an HTML select element for each property in the object that is represented by the specified expression using the specified list items and tag attributes.

Asp.net MVC how to populate dropdown list with numbers

I have seen similar examples where people need to populate with a list of object but all I would like …

c# asp.net-mvc model-view-controller html.dropdownlistfor
MVC4 Razor drop down list binding with foreign key

So as I wanted to have a deeper understanding. I added a little bit more functionality to the MSFT tutorial …

asp.net-mvc-4 ef-code-first foreign-keys html.dropdownlistfor
What is the best ways to bind @Html.DropDownListFor in ASP.NET MVC5?

I want to bind @Html.DropDownListFor from Model data without using Viewbag and look at many different examples on the …

asp.net-mvc razor html.dropdownlistfor selectlist dropdownlistfor
create many DropDownListFor in foreach-loop

I want to create DropDownLists dynamically out of a List, which supplies the SelectList and a field where to save …

c# asp.net-mvc html.dropdownlistfor html-select
creating a drop down list in MVC5

I am trying to create a drop down list but it gives me an error saying 'Cannot implicitly convert type …

c# view asp.net-mvc-5 html.dropdownlistfor
DropDownList with Enum Kendo UI

I'm working on updating an application to use Kendo UI and have run into an issue with binding to an …

asp.net-mvc kendo-ui html.dropdownlistfor
ASP.NET CORE MVC select tag helper - how to set selected value without using ModelView

In the following code of an ASP.NET MVC Core project, the Get action method Test(...) is displaying a dropdown …

c# asp.net-core-mvc html.dropdownlistfor tag-helpers
Multiple selction in Dropdownlist of asp.net MVC 3

Can we select multiple items from razor dropdownlist control. i.e for @Html.DropDownListFor(m=>m.Country, CountryList as …

asp.net asp.net-mvc asp.net-mvc-3 razor html.dropdownlistfor
Selenium - Using Java to click on a dropdown list and select a value

I am trying to automate the download of a large set of indicators on a continuous basis. So far with …

java selenium html.dropdownlistfor
Creating DropDownListFor items in the view

I want to create a DropDownList with a binding for one of my model data, but i want the dropdown …

asp.net-mvc html.dropdownlistfor