I have a form which I post back via jQuery AJAX. In my controller it checks for errors in the ModelState and returns these errors in a ContentResult and the user sees the errors in an updated DIV.
How can I get the little * next to the fields when there are errors?
Thanks
I have returned the modelstate as a JSON object. The on the OnSuccess event I loop through the errors and find a span with the modelstate key name and set it to visible.