I have implemented the upload success and error template from this demo http://demos.telerik.com/aspnet-mvc/notification/templates.
I am trying to display the error template if one of three fields in the pop up template are not valid otherwise the success one.
I think it is a problem about the k-invalid class being applied to a different DOM element but I am not sure.
This boolean var invalid = (startDateField.hasClass("k-invalid") || endDateField.hasClass("k-invalid") || entitlementField.hasClass("k-invalid")) is still false even one or more of the fields have the class k-invalid
I have put in attachments the files required.