Quantcast
Viewing latest article 7
Browse Latest Browse All 47

Updated Release: Mvc Controls Toolkit 3.0.0 (giu 19, 2014)

  • Business Layer related features, such as validation attributes, have been moved to the new MVCControlsToolkit.Business dll, that will be distributed in a different Nuget package
  • Client templates may be cached thus avoiding the burden of recompiling them in each request. Moreover thay will not contain any script tag, but just knockout bindings.
  • Removed the dependency of some control features from jquery UI:
    • DateTimeInput,TypedTextBox, TypededitDisplay, now autodetect the css framework being used (jQuery UI, Bootstrap, or jQuery Mobile) and use the datepicker available in that framework
    • SortableListFor, and TreeView now keep their drag and drop capabilities also without jQuery UI.
    • Thanks to the addition of new callbacks the DetailForm may be connected to any Dialog control available in the Css framework
  • All javascript files have been reengineered: now all javascript features are accessible through the unique mvcct namespace. Available compatibility patch js files.
  • The PlaceJavascript global filter moves all server controls initialization javascript code at the end of the page being delivered together with all javascript snippets inserted by the developer. All javascript code is enclosed in a (function($){...})(jQuery) wrapper. This improves performance and discourage the definition of identifiers in global scope. Moreover, it improves partial views modularity, since now each partial view may require the javascript it needs via AMD calls placed at the end of the partial view, without causing browser performance issues, since all these snippets are automatically moved at the end of the whole page(for more details on this technique see http://www.dotnet-programming.com/post/2013/12/10/JavaScript-Intensive-Web-Applications-2-Enhancing-Html-with-JavaScript.aspx).
  • Nuget package has been connected with other available javascript Nuget packages (such as the globalize package)
  • Most of the examples have been reorganized and migrated to Mvc 5
  • Fixed a bug in the TreeView: exception being thrown when rendering empty folders.
  • Fixed a bug in MVCControlToolkit.JsQueryable: erron when defining nested queries

Viewing latest article 7
Browse Latest Browse All 47

Trending Articles