I have created a drilldown from a Table using a New StiPage().
Anytime I click the table band row it loads the drilldown page and the data, BUT the page is ALWAYS in portrait mode.
I cannot get it to hold the Landscape Setting that I have placed on it when Enabling Drilldown and assigning the drilldown page.
When I test in the designer, it is the exact same behavior. The drilldown report page will never load in landscape.
How can I do this? My drilldown report has too many columns to render in portrait?
See Below where I am assigning the Detail Page as Landscape.
Code: Select all
var detailPage = new StiPage();
detailPage.Orientation = StiPageOrientation.Landscape;
if(resultSetMetadata.DrillDownStoredProc.HasValue())
{
page.DrillDownActivated = !isDrilldown;
detailPage.Name = "DetailPage";
report.Pages.Add(detailPage);
}