I have a really annoying MVC problem when I want to validate a partial view that is returned from a controller action.
Depending on a given number, I need to generate a view - it is nicely returned, looks great, and the model is Data Annotated.
Problem: the validation is never triggered on the client and this makes it a real problem.
I have the user to fill in the general information + the details, but the details are not validated.
if (ui.index == 2) // test tab
var url = '<%= Url.Content("~/Stock/getTestTab") %>/'+ $("#StockItem_InStock").val();
$.get(url, null, function (response)
Can someone help me please!