c# - What should I return when modelstate is invalid? -


i have partial view in layout file, partial view has form , server side validation. when form submitted , modelstate invalid should return?

something bold here:

1) don't want use javascript

2) want show modelstat errors in client side

thanks :)

you should add @html.validationsummary() in place, want display errors


Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -