In the Web Pages framework, if I browse directly to a page that contains a form, validation works as intended. If I call the page from another page using RenderPage, the ValidationSummary and ValidationMessage controls do not display their messages:
@RenderPage("~_MyForm.cshtml")
See attached sample for example.
@RenderPage("~_MyForm.cshtml")
See attached sample for example.