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.
Comments: Thanks for spotting and reporting the issue. Fixed in c2e90502b47e3961061e0f09c55d7da31aae872e
@RenderPage("~_MyForm.cshtml")
See attached sample for example.
Comments: Thanks for spotting and reporting the issue. Fixed in c2e90502b47e3961061e0f09c55d7da31aae872e