How to add group header band in existing report from code?
Posted: Thu Aug 23, 2012 11:37 am
Hi,
I want to add GroupHeaderBand in existing report beneath "HeaderTransactions" and above "DataTransactions", from code behind .
I am using below code to add new groupheaderband to existing report but it adds groupheaderband at last so report do not populate correct data.
Please help...
Regards,
Vatsal Desai
I want to add GroupHeaderBand in existing report beneath "HeaderTransactions" and above "DataTransactions", from code behind .
I am using below code to add new groupheaderband to existing report but it adds groupheaderband at last so report do not populate correct data.
Code: Select all
StiGroupHeaderBand h = = new StiGroupHeaderBand();
h.Name = "GroupHeaderBand1";
h.KeepGroupTogether = true;
page.Components.Add(h);
Regards,
Vatsal Desai