Hello,
I have created a new report using the CrossTab Wizard in the Q2 release. It's great! However, I'd like to now add a column to the report to display a percentage based on subtotals in the crosstab.
I've tried using the ItemDataBound event of the Detail section, Crosstab and TextBox processing elements using the examples that I've found on this website and forum:
Forum Post Percent Example
http://www.telerik.com/community/forums/reporting/telerik-reporting/use-report-footer-fields-in-group-field-calculation.aspx
Custom Aggregate Function
http://www.telerik.com/support/kb/reporting/general/implementing-and-using-custom-aggregate-functions.aspx
Combining Values from Documentation
http://www.telerik.com/help/reporting/faq-combine-values2.html
When I try to use the example fromt he documentation, the DataObject.Rawdata property is null so I can't access the DataRowView object in the detail_ItemDataBound event. I suspect it's because of the way the crosstab control is rendered but I spent several hours yesterday playing around with different combinations in the different event handlers but haven't had much luck.
Can anyone point me in the right direction? I can provide code examples if necessary.
Thanks in advance!
Brian
I have created a new report using the CrossTab Wizard in the Q2 release. It's great! However, I'd like to now add a column to the report to display a percentage based on subtotals in the crosstab.
I've tried using the ItemDataBound event of the Detail section, Crosstab and TextBox processing elements using the examples that I've found on this website and forum:
Forum Post Percent Example
http://www.telerik.com/community/forums/reporting/telerik-reporting/use-report-footer-fields-in-group-field-calculation.aspx
Custom Aggregate Function
http://www.telerik.com/support/kb/reporting/general/implementing-and-using-custom-aggregate-functions.aspx
Combining Values from Documentation
http://www.telerik.com/help/reporting/faq-combine-values2.html
When I try to use the example fromt he documentation, the DataObject.Rawdata property is null so I can't access the DataRowView object in the detail_ItemDataBound event. I suspect it's because of the way the crosstab control is rendered but I spent several hours yesterday playing around with different combinations in the different event handlers but haven't had much luck.
Can anyone point me in the right direction? I can provide code examples if necessary.
Thanks in advance!
Brian