您的位置:首页 > Web前端 > JavaScript

使用 ExtJs Extender Controls 遇到的第一个错误

2008-09-24 18:10 302 查看
刚听说有 ExtJs,也刚刚找到 ExtJs Extender Controls,第一个 Demo 居然就出现了问题。

[NullReferenceException: Object reference not set to an instance of an object.]
ExtExtenders.Helpers.ClientScriptProxy.RegisterClientScriptResource(Control control, Type type, String resourceName) 反复确认页面和代码后,我想,应该是配置的问题。按照错误信息 Google 了一下,在 Codeplex 找到了解决方法:I resolved this with adding the <add name="wwScriptCompressionModule" type="ExtExtenders.Helpers.wwScriptCompressionModule,ExtExtenders"/>

原来,在 web.config 的 <httpModules> 添加这个就行了,呵呵。

最后,一老外居然写了长篇大论来说明他为什么选择了 ExtJs,有兴趣看看吧。不过,另外两个老外又提醒大家要慎用 ExtJs,因为 License 的问题
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: