asp.net mvc - Model Validation On Nested View -
i have view , data listing in view . when user select row , form posting ajax action , action returns row details partial view.
user doing arrangements row details , submit form action.model validating @ action , must return model errors validatesummary.
but not becouse if add model error , return partial view, main view of course not showing , shows partial view.
i want add model error partial view inside view. how fix ?
replace data list (or grid) ourside <form></form>
or @html.beginform(){}
. problem solved
Comments
Post a Comment