Page 1 of 1
Hide pages rendering dialog
Posted: Fri Jun 01, 2007 11:13 pm
by munishsethi
I want to print reports in back thread and for that i dont want to show anything on the user interface. I m printing a report in background, a small dialog rendering pages (i dont know should i call it compiling?) comes up with progress bar, i want to hide it. Is there any parameter i need to pass in api?
suggest.
Hide pages rendering dialog
Posted: Sat Jun 02, 2007 2:13 am
by Vital
Please use following code:
Thank you.
Hide pages rendering dialog
Posted: Wed Jun 06, 2007 7:05 am
by munishsethi
Thanks
but i hav this code, to insert the Banner Page in my report and when this code hits, it shows a dialog rendering pages, i want to hide it up.
stReport.RenderedPages.Insert(0, ExtractBannerPage(report, querySql, True).RenderedPages(0))
wat change shuld i make to this code to hide the rendering dialog.
Hide pages rendering dialog
Posted: Wed Jun 06, 2007 7:19 am
by munishsethi
Thanks
but i hav this code, to insert the Banner Page in my report and when this code hits, it shows a dialog rendering pages, i want to hide it up.
stReport.RenderedPages.Insert(0, ExtractBannerPage(report, querySql, True).RenderedPages(0))
wat change shuld i make to this code to hide the rendering dialog.
Hide pages rendering dialog
Posted: Wed Jun 06, 2007 8:15 am
by Edward
Please try the following steps:
Code: Select all
report.render(false);
StiPage page = report.RenderedPages(0);
stiReport.Render(false);
stReport.RenderedPages.Insert(0, page);
stiReport.Show();
or
stiWebViewer.Report = stiReport;
If you do not need rendering progress at all even when rendered report will shows up, please set the static property HideMessages of the StiReport class:
also may be used the report preview form directly:
Code: Select all
using (StiPreviewForm form = new StiPreviewForm(report))
{
report.Render(false);
form.PreviewControl.Report = report;
form.ShowDialog();
}
Thank you.
Re: Hide pages rendering dialog
Posted: Sat Jun 04, 2016 7:52 am
by KONAN
I want to hide some page in my report
Someone can help me???
Re: Hide pages rendering dialog
Posted: Mon Jun 06, 2016 6:52 am
by HighAley
Hello.
Could you describe your issue more detailed?
What and when do you need to hide?
Thank you.
Re: Hide pages rendering dialog
Posted: Mon Jun 06, 2016 9:14 am
by KONAN
I want to hide some pages when rendering the report!!!
eg : i have 3 pages and i want to display one!!!
Re: Hide pages rendering dialog
Posted: Mon Jun 06, 2016 10:52 am
by KONAN
I just find the solution by using PrintOnPreviousPage and the propertie Enabled together
Page1.Enabled=true
Page1.PrintOnPreviousPage=true
Page2.Enabled=false
Page3.Enabled=false
Thank you so much!!!
Re: Hide pages rendering dialog
Posted: Mon Jun 06, 2016 12:40 pm
by HighAley
Hello.
We are always glad to help you.
Let us know if you need our help.
Thank you.