i am getting an error type not defined when i try to register the name space in the js file
Type.registerNamespace("OrganizationStructure");
OrganizationStructure.OrgStructure = function() {
this.orgStructureId = null;
this.name = null;
this.nodeList = null;
}
OrganizationStructure.OrgStructure.registerClass('OrganizationStructure.OrgStr开发者_如何学运维ucture');
OrganizationStructure.Node = function() {
this.parent = null;
this.name = null;
this.list = null;
}
OrganizationStructure.Node.registerClass('OrganizationStructure.Node');
i dont know why this error occuring
registerNamespace and registerClass functions are part of the MS AJAX framework and have nothing to do with jquery. So the question is which one of the two frameworks you would like to use MS AJAX or jquery? So if you want to use those functions make sure you have included the proper files: MicrosoftAjax.js, MicrosoftMvcAjax.js.
加载中,请稍侯......
精彩评论