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

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -