c# - MVC 5 Can an EditorTemplate call another EditorTemplate -
i need following: asp.net mvc3 razor - child items list not posting editor
the difference parent-child relationship one-to-many , child-subchild relationship one-to-many (as opposed one-to-one , one-to-many respectively in above example). not have viewmodel @ point.
i have set view uses , editortemplate, in turn uses editortemplate. works except on httppost changes subchild (i don't need allow child edited) not propagated database.
my main questions are:
can have editortemplate call editortemplate? need have viewmodel?
i think in controller need save changes db... i'm not sure how pass subchild information controller. know these questions kinda basic , general... if had example of httppost controller action method this.
Comments
Post a Comment