Empty Page in Print without preview option
Posted: Tue Mar 28, 2017 10:03 pm
Hello Developer,
I have problem in print option in chrome browser (select option print without preview in viewer) after rendering the report which show always empty page at the end of all my report where i have master report loaded on each report which i mean u have 2 report one use as master report loaded at run time on code over the main report by using this code:
Dim StiReport = New Stimulsoft.Report.StiReport
Dim MasterPage = New Stimulsoft.Report.StiReport
MasterPage.Load(MasterPage)
StiReport.Load(MainReport)
StiReport.MasterReport = MasterPage.SaveToString
and each of these report have size as below:
A4 paper size
Portrait, landscape
height = 29.7(for portrait), 21(for landscape)
width = 21(for portrait), 29.7(for landscape)
my question is why if i didn't load Master report everything is okay and no empty page appear ?!what is the wrong with my master page i loaded ?!!! and if i load master report for my main report it cause to increase the size of page which make empty page to appear ?!
please help me as soon as possible
I have problem in print option in chrome browser (select option print without preview in viewer) after rendering the report which show always empty page at the end of all my report where i have master report loaded on each report which i mean u have 2 report one use as master report loaded at run time on code over the main report by using this code:
Dim StiReport = New Stimulsoft.Report.StiReport
Dim MasterPage = New Stimulsoft.Report.StiReport
MasterPage.Load(MasterPage)
StiReport.Load(MainReport)
StiReport.MasterReport = MasterPage.SaveToString
and each of these report have size as below:
A4 paper size
Portrait, landscape
height = 29.7(for portrait), 21(for landscape)
width = 21(for portrait), 29.7(for landscape)
my question is why if i didn't load Master report everything is okay and no empty page appear ?!what is the wrong with my master page i loaded ?!!! and if i load master report for my main report it cause to increase the size of page which make empty page to appear ?!
please help me as soon as possible
