Model Binding on Multiple Model Form Submission from Strongly-Typed View

前端 未结 5 1466
情歌与酒
情歌与酒 2021-01-31 23:05

I\'m having problems binding on a form with multiple models being submitted. I have a complaint form which includes complaint info as well as one-to-many complainants. I\'m tr

5条回答
  •  温柔的废话
    2021-01-31 23:38

    I had the identical problem! In the end you will find out that the framework can't handle complex models.

    I wrote a little binding component that can initialize the complex bindings on a post.

    But basically what you have to do is what Arnis L. is telling.

提交回复
热议问题