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

刚听说有 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  的问题

posted on 2008-09-24 18:10  gucs  阅读(762)  评论(2编辑  收藏  举报

导航