使用 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 的问题。
[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 的问题。
相关文章推荐
- 使用Carbide C/C++ 遇到的第一个错误
- 在使用AndroidStudio打包apk时,遇到“xxx is not translated in xxx”错误的解决办法
- iOS 使用AFNetworking遇到错误 Error Domain=com.alamofire.error.serialization.response Code=-1016
- git使用中遇到的错误及解决方法
- 使用git commit命令时遇到 fatal: Unable to create index.lock File exists 错误的解决办法
- ubuntu中使用virtualbox遇到Kernel driver not installed (rc=-1908)错误
- Extjs gridpanel使用遇到selectionchange被多次触发问题解决办法,grid表格复选框无法取消选中
- 使用程序修改域帐户直接领导时遇到的错误
- 使用程序修改域帐户直接领导时遇到的错误
- 跑第一个hadoop自带示例遇到的错误
- 使用CGLib完成代理模式遇到的错误
- [Android]使用ProGuard遇到“conversion to Dalvik format failed with error 1”错误的解决办法
- 使用webpack2和extract-text-webpack-plugin时遇到Chunk.entry was removed. Use hasRuntime()错误的解决方法
- Hibernate使用入门 及遇到的错误汇总
- EasyUI - tree 使用拖拽时可能会遇到的一个错误
- 在Unity世界里遇到的第一个错误!
- 使用Tair时遇到pthread_join段错误问题解决
- 使用 VS 2012 编译 GTest 遇到的编译错误
- SSM框架搭建使用json遇到406错误
- vagrant up 出现错误:使用vagrant部署开发环境遇到的坑