MVC3 - Viewmodel with list of complex types

后端 未结 2 597
南旧
南旧 2020-12-08 08:51

Apologies if this has been asked before; there are a million ways to phrase it so searching for an answer has proved difficult.

I have a viewmodel with the following

2条回答
  •  长情又很酷
    2020-12-08 09:17

    EditorFor templates work and keep the code clean. You don't need the loops and the model is posted back correctly.

    However, has anyone had problems with validation on complex viewmodels (nested EditorFor templates)? I'm using Kendo Validator and am running into all sorts of jquery errors.

提交回复
热议问题