Hello,
I use an WebHierarchicalDataGrid with a WebHierarchicalDataSource and 3 ObjectDataSources (3 levels of data). I get the following error most of the time. I am using an evalation version.
Does anyone have the same problem? Is there any workarround?
Thanks
[NullReferenceException: De objectverwijzing is niet op een exemplaar van een object ingesteld.] Infragistics.Web.UI.Framework.AppStyling.StyleBot.ImageDirectoryResolved() +48 Infragistics.Web.UI.Framework.AppStyling.StyleBot.ResolveImageUrl(String imageUrl, Boolean useCache) +347 Infragistics.Web.UI.Framework.AppStyling.StyleBot.ResolveImageUrl(String imageUrl) +39 Infragistics.Web.UI.Framework.ImageObject.ResolveImageUrl(String url, String defaultUrl) +100 Infragistics.Web.UI.Framework.ImageObject.GetRenderImageUrl() +60 Infragistics.Web.UI.Framework.ImageObject.Render(HtmlTextWriter writer) +225 Infragistics.Web.UI.GridControls.GridBehaviorsImageButton.Render(HtmlTextWriter writer) +71 Infragistics.Web.UI.GridControls.HierarchicalGridRenderer.SetupButton(ContainerGrid grid, Boolean collapsed) +430 Infragistics.Web.UI.GridControls.HierarchicalGridRenderer.BehaviorEvents_BeforeRecordItemsXslRender(Object sender, RenderingRowSelectorXslEventArgs e) +1205 Infragistics.Web.UI.GridControls.GridBehaviorEvents.OnBeforeRecordItemsXslRender(XmlTextWriter writer, String cssClass, String expansionColumnCss) +113 Infragistics.Web.UI.GridControls.GridRenderer.RecordMatch() +780 Infragistics.Web.UI.GridControls.GridRenderer.RecordMatchContent() +44 Infragistics.Web.UI.GridControls.GridRenderer.Frame() +494 Infragistics.Web.UI.GridControls.GridRenderer.GenerateXsl() +205 Infragistics.Web.UI.GridControls.GridRenderer.RenderContents(HtmlTextWriter writer) +1049 Infragistics.Web.UI.GridControls.ContainerGridRenderer.RenderContents(HtmlTextWriter writer) +258 Infragistics.Web.UI.Framework.RunBot.HandleRenderContents(HtmlTextWriter writer, RendererBase renderer) +134 Infragistics.Web.UI.GridControls.WebDataGrid.GetRenderHTML() +178 Infragistics.Web.UI.GridControls.ContainerGrid.Infragistics.Web.UI.GridControls.IXPathDataNavigableObject.get_Xml() +266 Infragistics.Web.UI.GridControls.XPathDataNavigable.GetFirstChild() +43 Infragistics.Web.UI.GridControls.XPathDataNavigator.MoveToFirstChild() +122 Infragistics.Web.UI.GridControls.XPathDataNavigator.OutputToStream(XPathDataNavigator xpdn, XmlTextWriter stream, HtmlTextWriter htmlWriter) +286 Infragistics.Web.UI.GridControls.XPathDataNavigator.OutputToStream(XPathDataNavigator xpdn, XmlTextWriter stream, HtmlTextWriter htmlWriter) +317 Infragistics.Web.UI.GridControls.XPathDataNavigator.OutputToStream(XPathDataNavigator xpdn, XmlTextWriter stream, HtmlTextWriter htmlWriter) +317 Infragistics.Web.UI.GridControls.XPathDataNavigator.OutputToStream(XPathDataNavigator xpdn, XmlTextWriter stream, HtmlTextWriter htmlWriter) +317 Infragistics.Web.UI.GridControls.XPathDataNavigator.OutputToStream(XPathDataNavigator xpdn, XmlTextWriter stream, HtmlTextWriter htmlWriter) +317 Infragistics.Web.UI.GridControls.XPathDataNavigator.get_OuterXml() +199 Infragistics.Web.UI.GridControls.GridRenderer.RenderContents(HtmlTextWriter writer) +1236 Infragistics.Web.UI.GridControls.ContainerGridRenderer.RenderContents(HtmlTextWriter writer) +258 Infragistics.Web.UI.Framework.RunBot.HandleRenderContents(HtmlTextWriter writer, RendererBase renderer) +134 Infragistics.Web.UI.GridControls.WebDataGrid.GetRenderHTML() +178 Infragistics.Web.UI.GridControls.ContainerGrid.Infragistics.Web.UI.GridControls.IXPathDataNavigableObject.get_Xml() +266 Infragistics.Web.UI.GridControls.XPathDataNavigable.GetFirstChild() +43 Infragistics.Web.UI.GridControls.XPathDataNavigator.MoveToFirstChild() +122 Infragistics.Web.UI.GridControls.XPathDataNavigator.OutputToStream(XPathDataNavigator xpdn, XmlTextWriter stream, HtmlTextWriter htmlWriter) +286 Infragistics.Web.UI.GridControls.XPathDataNavigator.OutputToStream(XPathDataNavigator xpdn, XmlTextWriter stream, HtmlTextWriter htmlWriter) +317 Infragistics.Web.UI.GridControls.XPathDataNavigator.OutputToStream(XPathDataNavigator xpdn, XmlTextWriter stream, HtmlTextWriter htmlWriter) +317 Infragistics.Web.UI.GridControls.XPathDataNavigator.OutputToStream(XPathDataNavigator xpdn, XmlTextWriter stream, HtmlTextWriter htmlWriter) +317 Infragistics.Web.UI.GridControls.XPathDataNavigator.OutputToStream(XPathDataNavigator xpdn, XmlTextWriter stream, HtmlTextWriter htmlWriter) +317 Infragistics.Web.UI.GridControls.XPathDataNavigator.get_OuterXml() +199 Infragistics.Web.UI.GridControls.GridRenderer.RenderContents(HtmlTextWriter writer) +1236 Infragistics.Web.UI.GridControls.ContainerGridRenderer.RenderContents(HtmlTextWriter writer) +258 Infragistics.Web.UI.GridControls.HierarchicalGridRenderer.RenderContents(HtmlTextWriter writer) +608 Infragistics.Web.UI.Framework.RunBot.HandleRenderContents(HtmlTextWriter writer, RendererBase renderer) +134 Infragistics.Web.UI.Framework.Data.HierarchicalDataBoundControlMain.RenderContents(HtmlTextWriter writer) +70 Infragistics.Web.UI.Framework.Data.HierarchicalDataBoundControlMain.Render(HtmlTextWriter writer) +39 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27 System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99 System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +134 System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19 System.Web.UI.Control.Render(HtmlTextWriter writer) +10 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27 System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99 System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +134 System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19 System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +163 System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +32 System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +51 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27 System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99 System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +40 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +134 System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19 System.Web.UI.Control.Render(HtmlTextWriter writer) +10 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27 System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99 System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +134 System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19 System.Web.UI.Page.Render(HtmlTextWriter writer) +29 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27 System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99 System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1266
Hello Martin,
Can you give me any steps to reproduce this problem on my machine? What is your page setup like, behaviors you have enabled on the grid..etc? When do you see this error, on initial page load, or when you do any type of interaction with the grid. What CLR version are you using?
Let me know the details so that I can find out what is happening here.
-Taz.
Hello Taz,
I added a VS .NET/C# test project which has the same problem. I hope you can help me with finding a solution, or telling me what I am doing wrong.
Best regards,
Martin
Hi Martin,
I took a look at your sample. What you are seeing is a bug that we are currently working on fixing, but there is a simple workaround that you can do to eliminate the problem while we are working on the fix.
The workaround is to delete the following default settings from the aspx for the two lower bands (these get added automatically when you use the designer).
<ExpandButton AltText="Expand Row" />
<CollapseButton AltText="Collapse Row" />
<GroupingSettings>
<RemoveButton AltText="Ungroup Column" />
</GroupingSettings>
Thank you,
Olga
Thanks for your reply. I'm going to test it, and I'll let you know.
I'm having some other problems like inserting an "ok" and "not ok" image with some criteria based on one of the child bands column. If you have some tip or some link to where I can look up this, I would be most grateful.
Oh, I'm a newbie around these parts, and this is one of my first projects in .NET 3.5 with Infragistics and Ajax... so, please bear with me.
Regards,
Nuno
Sorry for the delay, but I had another project that needed more assistance and dropped this one.
Ok, I thought that with the new package release, this error would be "bugged out" in the webhierarchicaldatagrid control. I have installed it, but I got the same problem.
Still, I would like to let you know that by deleting those lines, I've made it work, so I would like to thank you for your tip.
nblima