This error occurred on framework 4.5, here ASP.NET uses HTML5 data-attributes and late bound JavaScript from an added script reference for client-side validation logic, so to avoid this error you need to set '
UnobtrusiveValidationMode' to '
none' in web.config, add below tag in web.config to resolve it
<appSettings>
<add key="ValidationSettings:UnobtrusiveValidationMode" value="None" />
</appSettings>