阅读背景:

使用类型模型的ASP.NET MVC模型到单选按钮列表的双向数据绑定

来源:互联网 

I have a mvc view made up of a matrix of radio buttons. Each row of radio buttons is in a group and represents a typed object from the model. Using the guidance of various blogs and postings I have successfully bound the posted form results to the typed model array in the controller action, however cannot seem to successfully reverse the effect and bind an existing model to the radio buttons while preserving their selected or unselected state.I have a mvc view made up of a matrix of radio




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: