asp.net-ajaxajaxcontroltoolkitclient-templates

Did Client Templates in ASP.NET AJAX 4.0 get dropped entirely, in favor of the jQuery Templates plug-in?


I think that Microsoft dropped client templates from the AJAX Toolkit in favor of jQuery Templates plug-in. I'm trying to find full documentation on this and except for some "will do" blog posts such as this one I am unable to find anything except @#$%-loads of bogus, obsolete documentation and magazine articles from the Preview / Beta days of ASP.NET AJAX 4.0.

Can anyone please confirm that the ASP.NET AJAX 4.0 Client Templates feature is, in fact, jQuery Templates, officially, and that there is absolutely no Sys.* equivalent in the current Microsoft libraries for client templates?


Solution

  • Yes, the entire ASP.NET Ajax Library, not to be confused with ASP.NET AJAX or the AJAX Control Toolkit, was abandoned before an official 1.0 release and should not be used going forward. It won't receive any further development.

    Instead of the DataView, use jQuery Templates and the Data Link plugin. Instead of the Sys.require script loader, look into JSDefer. Those plugins are being developed by the ASP.NET team and are the next evolution of what they were working on in the ASP.NET Ajax Library.

    Again, this abandonment does not apply to the traditional ASP.NET AJAX stuff that includes the ScriptManager, page methods, UpdatePanel, ASMX ScriptServices, etc. Those things aren't in any imminent danger of going away. The similar naming of those projects is very confusing.