Answer by DuckMaestro for Javascript Namespace declarations in ASP.NET
I prefer Type.registerNamespace(...) because it already handles creating sub-namespaces for you and won't overwrite existing namespaces.Suppose you want to declare a namespace "A.B.C". Then you're...
View ArticleAnswer by AUSteve for Javascript Namespace declarations in ASP.NET
Here is a blog post describing Type.registerNamespace: http://dotnetslackers.com/Community/blogs/bmains/archive/2009/05/30/ajax-and-type-registernamespace-how-it-works.aspxBasically the two methods are...
View ArticleJavascript Namespace declarations in ASP.NET
If you're declaring namespaces in ASP.NET webforms, is it better to just use Type.registerNamespace or the usual way of var $Namespace = function() {}
View Article
More Pages to Explore .....