Top "Dropdownlistfor" questions

Returns an HTML select element for each property in the object that is represented by the specified expression.

asp .net mvc 5 dropdownlist SelectList no validation attributes

Inside model I have data annotations: [Required(ErrorMessageResourceName = "SelectCategory", ErrorMessageResourceType = typeof(MyProject.Properties.Resources)), Range(1, int.MaxValue, ErrorMessageResourceName = "SelectCategory", ErrorMessageResourceType = …

c# validation asp.net-mvc-5 dropdownlistfor
MVC 5 Dropdownlistfor multiselect value binding in edit view

I have a select2 multiselect dropdown in edit view. When i try to bind selected values to the dropdown, it …

c# asp.net-mvc jquery-select2 dropdownlistfor
passing value of kendo DropDownListFor to read action of another DropDownListFor

I have a DropDownListFor component which has a read action which gets values from the database. However, I want to …

c# asp.net-mvc kendo-ui dropdownlistfor
Kendo UI grids with dropdown editor templates edit issue

I have a grid with two drop-down list columns which are mapped with Editor Templates in a razor page. All …

kendo-grid edit mvc-editor-templates dropdownlistfor