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
220
Getting a null reference exception when trying to get a summary
posted

I have a WebHiearchalDataGrid that has a grouping applied to it, when i try to get a row summary using the on screen supplied functions if a null reference exception. i am trying to figure out what could be causing this. I have pasted the Stack Trace below

 

[NullReferenceException: Object reference not set to an instance of an object.]
   Infragistics.Web.UI.GridControls.SummaryRow.GetSummaryValue(GridField field, Summary summary, ColumnSummaryInfo colSumInfo, SummaryRowSetting sumRowSetting, Boolean raiseEvnt) +510
   Infragistics.Web.UI.GridControls.SummaryRow.BehaviorEvents_PreRender(Object sender) +911
   Infragistics.Web.UI.GridControls.PreRenderHandler.Invoke(Object sender) +0
   Infragistics.Web.UI.GridControls.GridBehaviorEvents.OnPreRender() +22
   Infragistics.Web.UI.GridControls.GridBot.HandlePreRender() +65
   Infragistics.Web.UI.GridControls.ContainerGridBot.HandlePreRender() +332
   Infragistics.Web.UI.Framework.Data.FlatDataBoundControl.OnPreRender(EventArgs e) +1435
   Infragistics.Web.UI.GridControls.WebDataGrid.OnPreRender(EventArgs e) +13
   Infragistics.Web.UI.GridControls.ContainerGrid.OnPreRender(EventArgs e) +36
   System.Web.UI.Control.PreRenderRecursiveInternal() +103
   System.Web.UI.Control.PreRenderRecursiveInternal() +175
   System.Web.UI.Control.PreRenderRecursiveInternal() +175
   System.Web.UI.Control.PreRenderRecursiveInternal() +175
   System.Web.UI.Control.PreRenderRecursiveInternal() +175
   System.Web.UI.Control.PreRenderRecursiveInternal() +175
   System.Web.UI.Control.PreRenderRecursiveInternal() +175
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2496

Parents
  • 33839
    posted

    Hi whanes,

    What version are you running?  Do you have the latest service release?  Are you adding a summary in a parent or child?  If you could attach a small sample that reproduces this issue, it would be awesome.

    regards,
    David Young 

Reply Children