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

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -