Saturday, December 31, 2011

Short comment on UnobtrusiveJavaScriptEnabled app setting

While looking into web.config file of the ASP.NET MVC 3 application you would notice an application setting called UnobtrusiveJavaScriptEnabled. Not sure what about you but for me it looked like a mysterious setting for turning on/off some mysterious functionality.

The purpose of that setting is explained by Brad Wilson in his post Unobtrusive Client Validation in ASP.NET MVC 3. Putting it short - with this setting turned off client side validation is being performed using Microsoft javascript libraries (the same way it was performed in ASP.NET MVC 1 and 2). Otherwise (with setting turned on) client side validation is performed using JQuery Validate.

1 comment:

  1. The casino site ᐈ 300+ slots & live dealer games
    The casino site - is available for download and played by the following software providers: NetEnt luckyclub.live (NetEnt), Evolution Gaming, Microgaming, Playtech, Microgaming,

    ReplyDelete