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) +214 Infragistics.Web.UI.GridControls.SummaryRow.BehaviorEvents_PreRender(Object sender) +665 Infragistics.Web.UI.GridControls.GridBehaviorEvents.OnPreRender() +22 Infragistics.Web.UI.GridControls.GridBot.HandlePreRender() +34 Infragistics.Web.UI.Framework.Data.FlatDataBoundControl.OnPreRender(EventArgs e) +186 Infragistics.Web.UI.GridControls.WebDataGrid.OnPreRender(EventArgs e) +13 System.Web.UI.Control.PreRenderRecursiveInternal() +80 System.Web.UI.Control.PreRenderRecursiveInternal() +171 System.Web.UI.Control.PreRenderRecursiveInternal() +171 System.Web.UI.Control.PreRenderRecursiveInternal() +171 System.Web.UI.Control.PreRenderRecursiveInternal() +171 System.Web.UI.Control.PreRenderRecursiveInternal() +171 System.Web.UI.Control.PreRenderRecursiveInternal() +171 System.Web.UI.Control.PreRenderRecursiveInternal() +171 System.Web.UI.Control.PreRenderRecursiveInternal() +171 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842
Hello DayanaArul,
Have you been able to resolve your issue? If you have any further questions, please let me know.
Sincerely,
Tsanna
I've taken a look into this matter and been unable to reproduce this behavior. What version of our product are you using in your project? I'm attaching a sample that demonstrates similar scenario. If this sample project is not an accurate demonstration of what you're trying to do, please feel free to modify it and send it back, or send a small sample project of your own if you have one.
Please let me know if I can provide any further assistance.
When i clear the webdatagrid which have summary info, it gives
i have used
webdatagird.row.clear()
webdatagrid.cleardatasource()
webdagrid.datasource=nothing
webdatagird.databind()
I am still following your case. Have you been able to resolve the issue?
If you have any concerns or questions, please feel free to contact me, I will be glad to help you.
Thank you for choosing Infragistics components!
Hello DayanaArul ,
Thank you for posting in our community.
Since I was not able to reproduce the provided exception, I’ve created for you a sample with similar scenario, which you can look at and let me know what different you’re doing in your project. Are there any events on the WDW control, which you’ve handled and may cause some exceptions? Please feel free to modify the attached sample and send it back, or send a small isolated sample that demonstrates the behavior you’re facing. If you have any further questions, do not hesitate to contact me.