Good Day,
I am trying to implement a custom summary in a WebHierarchicalDataGrid control, I have followed this tutorial carefully.
http://help.infragistics.com/Help/NetAdvantage/ASPNET/2010.3/CLR4.0/html/WebDataGrid_Adding_Custom_Summary.html
But it seems that my custom summary can't render or read the return value It's just showing
"ASum =", and the wierd thing is debugging WebHierarchicalDataGrid1_CalculateCustomSummary method is showing that is returning a value.
please take a look at this screen shot.
http://min.us/mvfUQTp
I hope some could help me
Hi AgentD5,
Thank you for answering.
Although I was able to retrieve the return value through JavaScript by handling a "SummaryCalculated" of SummaryRowClientEvents manually. Here's the markup of my summary row setting.
<ig:SummaryRowSetting ColumnKey="total" FormatString="{0} = {1}"> <SummarySettings>
<ig:SummarySetting SummaryType="Custom" CustomSummaryName="ASum" FormatString="{0} = {1}" />
</SummarySettings>
</ig:SummaryRowSetting>
I debugged this one for two days, and followed the procedure carefully , this could be because of my version or something and anyway at least it works for you. Thank you!
Regards,
Sherwin
Hi swavaldez,
I tried to duplicate your problem. I added the behavior and column summary at design time. But I see the value I return for my custom summary. Are you sure you don't have a format string that doesn't include {1}, the actual value. Is it possible for you to attach a sample here?
regards,
David Young