The jQuery unobtrusive validation was not working for asynchronously loaded html.

We fixed this by kick starting the unobtrusive validation:

 

// Kick start unobtrusive validation for async loaded content
var validator: any = $.validator;
validator.unobtrusive.parse(‘#PopupForm’);

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.