我在我的应用程序中有以下代码来设置 Ultrawebgrid 中列页脚的可见性。
Ultrawebgrid1.DisplayLayout.ColFootersVisibleDefault = ShowMarginInfo.Yes;
这在 Firefox 和 IE 中运行良好,但在 chrome 中显示空引用错误,请查看错误并对此提供帮助
你调用的对象是空的。
说明:执行当前 Web 请求期间发生未处理的异常。请查看堆栈跟踪以获取有关错误及其源自代码的位置的更多信息。
异常详细信息:System.NullReferenceException:对象引用未设置为对象的实例。
源错误:
在执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪来识别有关异常起源和位置的信息。
堆栈跟踪:
[NullReferenceException: Object reference not set to an instance of an object.]
Infragistics.WebUI.UltraWebGrid.RenderDnLvlHTML.ResolveRowLabelStyle(UltraGridRow 行)+3 Infragistics.WebUI.UltraWebGrid.RenderDnLvlHTML.RenderRowLabelStyleClass(UltraGridRow 行)+37 Infragistics.WebUI.UltraWebGrid.RenderDnLvlHTML.RenderColumnsFooters(Rows9 行)+59