Click here to Skip to main content
15,886,963 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i use extended javascipt for asp.net ajax programing.i want to add a namespace to my javascipt code and i use Type.registerNamespace("myspace"); but during complie i get this error:
type is undefined;
what is the problem?
thanks a lot
Posted
Updated 7-Feb-12 0:02am
v2

1 solution

 
Share this answer
 
Comments
behrad110 7-Feb-12 6:33am    
thank for your guidance , but the problem not solved ; i think that i have small mistake.
manognya kota 7-Feb-12 6:38am    
You can check this link for working with namespaces in javascript.
http://www.codeproject.com/Articles/19030/Namespaces-in-JavaScript
behrad110 7-Feb-12 6:42am    
Type is not displayed by intellisense.is it ordinary?
behrad110 7-Feb-12 6:47am    
this javascript code is nice but i wanna use extended javascript ability for define of name space like above code that i wrote later
manognya kota 7-Feb-12 6:51am    
Do you want to define the namespace for your javascript or register ? the link that i posted in the above comment has both examples.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900