I am using Infragistic Ultra grid in form which version is 16.1. i face memory leakage problem in ultragird.
all object of ultragrid release memory but summary setting and summary reference does not release memory
Thank you for posting in our forums!
The best way for us to assist you is if you provide a small, isolated sample that we can run and use for debugging locally.
If you are unable to provide an isolated sample I may be able to give suggestions if you provide the code for your form.
Looking forward to hearing from you.
Greeting of the day.
thank you for reply.
Sorry I have no Sample but still i send some part which i use in my project. Rar file which use as dll in my project.
that is modify by me and another txt file which how to use in project.
UltGrdCssMatReport.SetDataBinding(ObjBOReportView.DataSet, ObjBOReportView.ReportData, true);
UltGrdCssMatReport.SetOperation(false, false, true, ModCont.cUltraGrid.EnumCellActivation.AllowEdit);
UltGrdCssMatReport.RowSummaryRateFromAmount(0, "NETSRATE", "NETSAMOUNT", "I_CARAT");
UltGrdCssMatReport.RowSummaryPercentageFromAmountSummary(0, "NETSPER", "NETSAMOUNT", "PRAMOUNT", "I_CARAT");
UltGrdCssMatReport.RowSummarySum(0, "NETSAMOUNT", "#0.00");
UltGrdCssMatReport.RowSummary(0, "DIFFCS", SummaryType.Formula, "#0.00", GetFormula("NETSAMOUNT", "CAMOUNT"));
private string GetFormula(string pBaseAmount, string pDiscAmount)
string StrFormula = string.Empty;
//if( SUM([I2PCS])+SUM([I2SPCS]) = 0 , 0 , SUM([I2PCS]) / (SUM([I2PCS])+SUM([I2SPCS])) * 100 )
StrFormula = "if (SUM([" + pBaseAmount + "]) > SUM([" + pDiscAmount + "]) , ";
StrFormula += "- (100 - (SUM([" + pDiscAmount + "]) / SUM([" + pBaseAmount + "]) * 100)) , ";
StrFormula += "100 - (SUM([" + pBaseAmount + "]) / SUM([" + pDiscAmount + "]) * 100))";
Thank you for the sample code.
I am not able to discern how the data should be set up to use with your control. I have not found any sample data included using the "NETSRATE", "NETSAMOUNT", "I_CARAT" fields, for example.
Please provide a simple data source for me that I can use with the code you provided.
I have no small module but I give one sample form which I used. "NETSRATE", "NETSAMOUNT", "I_CARAT"
fields are a column in the grid. I use a heavy formula for calculating summary in the grid. I have bind only 87 records
with many columns. my problem is that when I dispose the grid but still summary setting and formula holder.
Thank you for the sample and information.
It may take me a few days to put a sample together to investigate this more closely.
I will have more information or questions for you early next week.
If you have any further questions or concerns with this, please let me know.
As I was discussing this issue with a colleague, we came to the conclusion that we needed a little more information.
Ideally, we would have a sample that we could run to reproduce the memory leak. Please work to provide this to us.
While you are working on this it would help to see details from your memory profiler showing the path to root for the SummarySettings objects so we can review why they may be held in memory.
in a Screenshot, Display all the regarding ultagrid.
Another Screenshot, regarding where to store the object in an ultra grid.
Thank you for the screenshots.
I look forward to receiving your sample that we could run to reproduce the memory leak.
Would you be able to share the entire profiler result from dotMemory?