Page 2 of 2
Re: How to improve the performance faster - Reg.
Posted: Thu Aug 08, 2013 2:23 pm
by shan
Aleksey Andreyanov wrote:Hello.
Please, try the latest prerelease build there you will get the full error message.
Thank you.
Hi,
Currently i am using the version 2013.1.1600.0, Can u please specify version no. to use?
Regards,
Shan
Re: How to improve the performance faster - Reg.
Posted: Fri Aug 09, 2013 6:22 am
by Alex K.
Hello,
Please check the 2013.2.1614 build from 2013.08.05
Thank you.
Re: How to improve the performance faster - Reg.
Posted: Fri Aug 09, 2013 6:51 am
by shan
Aleksey wrote:Hello,
Please check the 2013.2.1614 build from 2013.08.05
Thank you.
Hi,
Thanks for your response, i will try the above mentioned build.
My template working fine by using the below mentioned code.
Code:
var report = new StiReport();
report.Load(path);
report.ReportCacheMode = StiReportCacheMode.Off;
report.Dictionary.Databases.Clear();
report.Dictionary.Databases.Add(new StiSqlDatabase("name", constr));
report.Dictionary.DataSources.Clear();
report.RegData("name", "name", ds);
report.Dictionary.Synchronize();
StiWebViewerFx1.View(report);
But it is slow while loading report, Is there anyway to improve loading. Also it try's to load whole report in a single time, i need the report to be generated page by page because if a PDF contains 100 pages instead waiting for 100 pages to load the user can see page1-3 while other pages load (i.e. OnDemand Load).
I need the performance faster you can suggest me some other options if possible.
Regards,
Shan
Re: How to improve the performance faster - Reg.
Posted: Fri Aug 09, 2013 7:39 am
by Alex K.
Hello,
shan wrote:i need the report to be generated page by page because if a PDF contains 100 pages instead waiting for 100 pages to load the user can see page1-3 while other pages load (i.e. OnDemand Load).
Unfortunately, it is not possible.
Please try to split your report or use the additional filter for rendering and show by part.
Thank you.
Re: How to improve the performance faster - Reg.
Posted: Mon Aug 12, 2013 9:33 am
by shan
Aleksey wrote:Hello,
shan wrote:i need the report to be generated page by page because if a PDF contains 100 pages instead waiting for 100 pages to load the user can see page1-3 while other pages load (i.e. OnDemand Load).
Unfortunately, it is not possible.
Please try to split your report or use the additional filter for rendering and show by part.
Thank you.
Hi,
My report contains just 100 pages, also it not contains much images it has only 2 to 3 small size images then what's the problem with the viewer.
how can i split report and show, because it is a single page design which render and show in single time. Can u please guide me how to improve the performance.
Regards,
Shan
Re: How to improve the performance faster - Reg.
Posted: Mon Aug 12, 2013 10:55 am
by HighAley
Hello, Shan.
Please, send us your report template with sample data which reproduces the issue for analysis.
Thank you.
Re: How to improve the performance faster - Reg.
Posted: Wed Aug 14, 2013 12:56 pm
by shan
Aleksey Andreyanov wrote:Hello, Shan.
Please, send us your report template with sample data which reproduces the issue for analysis.
Thank you.
Hi,
I found the problem which was reproduced the issue in my template. Actually my template was working well and good in the StiWebViewerFX, but the problem persists with the image components which was used in the report. If i delete all the image components from my template then the report was loading in the StiWebViewerFX was fine.
My report contains only 5 image components with the max. image size of 50kb (.jpg images).
I used the below code to assign the images in my template and also find the sample template attached for your reference.
if (report.Dictionary.Variables.Contains("ImgPath"))
{
report.Dictionary.Variables["ImgPath"].Value = Server.MapPath("") + "\\test.jpg";
}
In report i assigned the above path in the BeforePrint Event.
If any doubt let me know.
Thanks & Regards,
Shan
Re: How to improve the performance faster - Reg.
Posted: Fri Aug 16, 2013 1:35 pm
by HighAley
Hello.
The report is rendered on the server-side and passing to the WebViewerFx as mdc-file.
In this file every instance of the image is stored separately. So If there are 200 instances of these 5 images then there will be passed 200 images.
We will try to optimize this behaviour in feature.
Thank you.