MVC2 Client-Side Validation for injected Ajax response
- by radu-negrila
Hi,
I have the following scenario for an MVC 2 website.
The user checks a radio.
I make a jQuery GET to retrieve some html (partial view + view model). The view-model is annotated with validation attributes.
I need client-side validation for the new html's inputs.
I tried placing the following line in the partial view:
<%…