This is a migrated thread and some comments may be shown as answers.

Web Preview Problem

3 Answers 83 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 06 Nov 2012, 01:09 PM
I have embedded the asp.net web viewer into my application and am finding that the chart control does not render correctly in either IE9 (compatibility on or off) or Chrome.
I have attached several images to this issue:
1. VS Preview.jpg - Shows the chart rendering correctly in Visual Studio 2010 Preview.
2. VS WebPreview.jpg - Shows the chart rendering correctly in Visual Studio 2010 Web Preview.
3. IE Web Preview.jpg - Shows the chart not rendering correctly in IE9 with compatibility mode off.
4. IE Web Preview CM.jpg - Shows the chart not rendering correctly in IE9 with compatibility mode on.

I have tried all kinds of things such as AutoLayout, Margins etc and none of these make any difference. The chart always renders incorrectly in the browser.
Can somebody help me with this as this issue essentially makes telerik reports unusable for my customers at the moment.

Many thanks

3 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 07 Nov 2012, 12:51 PM
Hi Mike,

We've tested the reported problem in our online demo reports (using the latest Q3 2012 version) that have charts (DashBoard, Product Line Sales) but we did not notice anything missing from the chart and they are rendered in their entity. Can you verify those reports are rendered correctly on your end? If that is the case, make sure you test this locally on a "clear" page with no external styles applied, to exclude the possibility of this being css compatibility  issues. If the problem persists, we would appreciate if you send us a report that exhibits the problem so we can look into it.

Greetings,
Steve
the Telerik team

HAPPY WITH TELERIK REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!

0
Mike
Top achievements
Rank 1
answered on 09 Nov 2012, 10:33 AM
I have been working on this issue for the last couple of days and think I have identified the cause though I have no idea why OR how to fix the issue.
The cause seems to be IIS running on my Windows 7 box.
If I debug the same application using the Visual Studio Development Server the chart renders as show in image "VS Image.jpg". 
 - The chart appears zoomed which results in the codes on t X axis being truncated and the last 3 columns being cut
 - The logo image in the footer is displayed correctly

If I debug the same application using the local IIS server the chart renders as shown in image "IIS Image.jpg"
 - The chart renders fine with no issues
 - The footer logo's renders the width ok but the image with padding to the right so it no longer appears on the page.

The chart is current set to docked=fill but the same issues appear when not docked
The logo is currently set to docked=right but the same issue appears when not docked

Please note that I get the same issue in IE9, Chrome and Firefox.Help!
At the moment my only solution is to trash the web viewer and render direct to PDF which works well. Unfortunately this means I am having to code the toolbar functionality myself which I do not want to do.
I am willing to use the silverlight viewer as an alternative but have no idea how to embed the view within a splitter/radpanel as the current web viewer is OR how to pass the report source to the silverlight control. 
Any help would be greatly appreciated as I don't really want to have to go looking at other reporting technologies again.

Thanks

0
Steve
Telerik team
answered on 14 Nov 2012, 09:26 AM
Hi Mike,

The online demos are deployed to IIS, and they do not exhibit such problem. Additionally we've tried deploying our demos to our Win 7 IIS and we also cannot reproduce the problem, so we suspect that the problem is caused by something else. Are you by any chances using some modules that alter the response of the server e.g. compression modules?
Our suggestion is to try your reports on another machine and if the problem persists, then you can open a support ticket, attach the problematic project with steps how to reproduce it locally.

All the best,
Steve
the Telerik team

HAPPY WITH TELERIK REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!

Tags
General Discussions
Asked by
Mike
Top achievements
Rank 1
Answers by
Steve
Telerik team
Mike
Top achievements
Rank 1
Share this question
or