Virtual Happy Hour is canceled this month (March) due to Good Friday.
Try our conversational search powered by Generative AI!
AI OnAI Off
Virtual Happy Hour is canceled this month (March) due to Good Friday.
Hi, I'm still investigating this but when I have errors in my ModelState, they appear to be lost after rendering a content area.
Walking though a debugger after a form submission, the modelstate has an invalid property "Category" with an error from a required attribute of "The Category field is required." (watch on ModelState["Category"].Errors[0].ErrorMessage)
I stepped past @Html.PropertyFor(m => m.CurrentPage.ContentArea) before my form with a single content block containing only one XhtmlString property. After that the ModelState still has the "Category" property marked invalid, but the Errors collection is now empty.
Any ideas?