I want to create a custom control (partial view, template) and have it function similar to html.dropdownlistfor() where it takes a collection to select from and another field to hold the selected value. In order to do this, I want to review the code for dropdownlistfor. Since ASP.NET MVC is open source, where can I find the code/razor markup to dropdownlistfor?
Share
1 Answer