开发者

Model binding with nested child models and PartialViews in ASP.NET MVC (continued...)

开发者 https://www.devze.com 2023-02-28 10:32 出处:网络
I have the same problem outlined here.That is, nested view models in an editor where the child model is not bound correctly on submit.Unfortunately, the 开发者_C百科EditorFor technique described won\'

I have the same problem outlined here. That is, nested view models in an editor where the child model is not bound correctly on submit. Unfortunately, the 开发者_C百科EditorFor technique described won't work for me because EditorFor drops in some div's around the specified template that make my rendered page look weird. Any other ideas?

Thanks.


Editor Templates solve this issue.

0

精彩评论

暂无评论...
验证码 换一张
取 消