c# 4.0 - Automatically create dropdown with EditorForModel() -


i have model public ienumerable<selectlistitem> selections {get;set;} , 1 public string selecteditem {get;set;}, how can override default behavior in asp.net mvc renders dropdown property? have generic edit ui can't things html.dropdownlistfor(...

take @ custom templates: http://bradwilson.typepad.com/blog/2009/10/aspnet-mvc-2-templates-part-4-custom-object-templates.html


Comments

Popular posts from this blog

WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl -

java - Getting corefrences with Standard corenlp package -

jQuery clickable div with working mailto link inside -