Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
130
BoundCheckBoxField in WebHierarchicalDataGrid imageUrl NullReferenceException
posted

I attempted to use a BoundCheckBoxField in the WebHierarchicalDataGrid instead of a BoundDataField and ended up with this error.  I even set the 3 image url paths on the checkbox and still receive the same error.

This is using Infragistics 2011.2 with VS 2010.

Anyone know what causes this?

[NullReferenceException: Object reference not set to an instance of an object.]
   Infragistics.Web.UI.Framework.AppStyling.StyleBot.ImageDirectoryResolved() +17
   Infragistics.Web.UI.Framework.AppStyling.StyleBot.ResolveImageUrl(String imageUrl, Boolean useCache) +316
   Infragistics.Web.UI.GridControls.BoundCheckBoxField.SaveClientProperties() +94
   Infragistics.Web.UI.Framework.ObjectBase.WriteClientCollections(StringBuilder builder, ArrayList collections) +559
   Infragistics.Web.UI.Framework.ObjectBase.SaveCollectionsStateToViewState() +196
   Infragistics.Web.UI.Framework.RunBot.HandleSaveViewState() +64
   Infragistics.Web.UI.Framework.Data.FlatDataBoundControl.SaveViewState() +101
   Infragistics.Web.UI.GridControls.BaseGrid.SaveViewState() +189
   Infragistics.Web.UI.GridControls.WebDataGrid.SaveViewState() +50
   Infragistics.Web.UI.GridControls.ContainerGrid.SaveViewState() +245
   Infragistics.Web.UI.GridControls.WebHierarchicalDataGrid.SaveViewState() +326
   System.Web.UI.Control.SaveViewStateRecursive(ViewStateMode inheritedMode) +147
   System.Web.UI.Control.SaveViewStateRecursive(ViewStateMode inheritedMode) +276
   System.Web.UI.Control.SaveViewStateRecursive(ViewStateMode inheritedMode) +276
   System.Web.UI.Page.SaveAllState() +738
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4771