I was wondering if I am allowed to use in any of my projects the jquery.validate.unobtrusive.js or jquery.unobtrusive-ajax.js script that comes with ASP.NET MVC 3? Or are there any limitations?
Namely the script contains only this comment:
** Copyright (C) Microsoft Corporation. All rights reserved.
According to my knowledge this means that no one is allowed to do anything with this script without explicit permission from Microsoft (ie. use it, redistribute it, modify it combine it with other scripts, sublicense it...). Or is there any other license that comes with ASP.NET MVC 3 or Visual Studio that overrides this?
Am I allowed to use it in web pages developed with Visual Studio - commercial and non-commercial ones? What about in web pages that do not run on Microsoft's technology and what about those not even developed in any of Microsoft's products?
An unobtrusive validation in jQuery is a set of ASP.Net MVC HTML helper extensions.By using jQuery Validation data attributes along with HTML 5 data attributes, you can perform validation to the client-side.
You can disable the unobtrusive validation from within the razor code via this Html Helper property: HtmlHelper. ClientValidationEnabled = false; That way you can have unobtrusive validation on and off for different forms according to this setting in their particular view/partial view.
validator. unobtrusive. parse(selector) method to force parsing. This method parses all the HTML elements in the specified selector and looks for input elements decorated with the [data-val=true] attribute value and enables validation according to the data-val-* attribute values.
Answering to myself:
The license of ASP.NET MVC 3 is in C:\Program Files\Microsoft ASP.NET\ASP.NET MVC 3\eula.rtf
which states that any distributable code can be used as part of ASP.NET programs (that run on Windows platform).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With