Report Viewer showing incorrect format

Stimulsoft Reports.WEB discussion
eric_stimulsoft
Posts: 25
Joined: Tue Feb 25, 2014 5:14 am
Location: Jupiter

Report Viewer showing incorrect format

Post by eric_stimulsoft »

Hi,

I just want to know if there are any adjustments that I need to apply when updating stimulsoft version?
Because switching from Q3 2013 release my report viewer doesn't show correct format that I exactly see when I try to export or print my report, as well as the format I've applied in designer.

For Example, the you won't be able to determine the large and small fonts, columns are crappy and crisp, columns' width were cut (but if you try to export it, the columns' width were in its full size as we've designed in the designer)

I'm using Official Q1 2014 Release, at first we thought this was just a demo tweak, but after we bought the licensed version yesterday and after applying the changes, the report viewer problem still persists.

Hoping for your fast reply, because this is an urgent matter.

Thanks!

EDIT:
I've found out that it also inherits my css styles marked as * or all.

Now my question is, Is there any option that the report will not inherit my global styles? because it inherits all styles under the * category which includes font family, and font size.

Because I have that before and my report viewer doesn't inherit the said style...but after the Q3 2013 and Q1 2014 updates it now inherits the style applied.
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Re: Report Viewer showing incorrect format

Post by Vladimir »

Hello,

It is quite difficult to foresee all the possible combinations of styles to disable them.
Please send us the project with report, we analyse the styles and make the necessary additions to our component.

Thank you.
eric_stimulsoft
Posts: 25
Joined: Tue Feb 25, 2014 5:14 am
Location: Jupiter

Re: Report Viewer showing incorrect format

Post by eric_stimulsoft »

Hi!

I've attached a sample of css that will make the report design messed up. I've used it in some sample project you guys gave me before.
I was about to upload the whole sample project but my internet wasn't able to finish the upload everytime I try. So I decided to upload the css file since it's the only cause of this problem.
CSS Sample.zip
(1.67 KiB) Downloaded 431 times
Thanks.
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Re: Report Viewer showing incorrect format

Post by Vladimir »

Hello,

We analyzed sent CSS file. In this case, there are 2 solutions:
1. Do not use global definition of all styles
2. Override styles for MvcViewer, for example:

Code: Select all

#MvcViewer {
    font-family: Arial;
    font-size: 12px;
}
Also, we can make a redefinition of all styles for each item in the report, but this will significantly increase the size of the exported HTML report pages. Please specify, this solution will be suitable for you?

Thank you.
eric_stimulsoft
Posts: 25
Joined: Tue Feb 25, 2014 5:14 am
Location: Jupiter

Re: Report Viewer showing incorrect format

Post by eric_stimulsoft »

Hi,

I've tried the solution you've provided but still not showing the correct format. I think it only formats the #MvcViewer not everything under #MvcViewer. And also, I won't be able to remove global styles as this is our standards and I was wondering, before when we were using Q2 2013 demo release and we have the global styles then the report follows its original format.

Hoping for more solutions.

Thanks in advance!
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Re: Report Viewer showing incorrect format

Post by Vladimir »

Hello,

Please specify you are using the MvcViewer component or some other from Stimulsoft Reports.Web product?

Thank you.
eric_stimulsoft
Posts: 25
Joined: Tue Feb 25, 2014 5:14 am
Location: Jupiter

Re: Report Viewer showing incorrect format

Post by eric_stimulsoft »

Hi,

I am using the MvcViewer component.

Thanks
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Re: Report Viewer showing incorrect format

Post by Vladimir »

Hello,

We can make a redefinition of all styles for each item in the report, but this will significantly increase the size of the exported HTML report pages. Please specify, this solution will be suitable for you?

Thank you.
eric_stimulsoft
Posts: 25
Joined: Tue Feb 25, 2014 5:14 am
Location: Jupiter

Re: Report Viewer showing incorrect format

Post by eric_stimulsoft »

Hi,

The solution you've suggested should be fine for us.
Just let me know when the fix is ready.

Thanks a lot!
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Report Viewer showing incorrect format

Post by HighAley »

Hello.

We are working on it.
We will get in touch with any news.

Thank you.
Post Reply