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

相关文章:

  • 2021-09-01
  • 2022-12-23
  • 2022-12-23
  • 2021-11-23
  • 2021-12-06
  • 2022-01-06
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-01-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-05
  • 2022-12-23
  • 2021-06-01
相关资源
相似解决方案