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
Post a Comment