In your project config file add below keys:
<add key="ClientValidationEnabled" value="true" />
<add key="UnobtrusiveJavaScriptEnabled" value="true" />
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment
It is the same account you read, post and publish with — and you will come straight back to this page.
In your project config file add below keys:
<add key="ClientValidationEnabled" value="true" />
<add key="UnobtrusiveJavaScriptEnabled" value="true" />
Or if you want to set this programmatically then do below code in Application_Start()
void Application_Start(object sender, EventArgs e)
{
HtmlHelper.ClientValidationEnabled = true;
HtmlHelper.UnobtrusiveJavaScriptEnabled= true;
}
Yashwanth MuthineniPosted Aug 29, 2015, 5:45 AM
Nice share
Gowtham RajamanickamPosted Mar 13, 2015, 2:06 AM
Good one...