1
Vote

Doesn't seem to work for complex form

description

Hi! Your MVC Modal Dialog is great!

However, when a modal form has several dropdownlist there was an error when the model is not valid.

Returning to partial view doesn't work. I tried these in the return code:

return PartialView(medicalCase); //just returning the model when ModelState.IsValid fails.

return PartialView("_TestCase"); //tried this also to return to the original caller with dropdownlist bindings.

It's supposed to just show the Validation errors right? But it won't!

See attached!

Many thanks!

file attachments

comments