Quantcast
Channel: Javascript Namespace declarations in ASP.NET - Stack Overflow
Browsing latest articles
Browse All 3 View Live

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 Article



Answer 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 Article

Javascript 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
Browsing latest articles
Browse All 3 View Live




Latest Images