Telerik Forums
Reporting Forum
3 answers
136 views
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

Steve
Telerik team
 answered on 14 Nov 2012
2 answers
76 views
Hi..
How do I create a marked zone that is a polygon?
I can only seem to create squares or rectangles ?

Need to create a marked zone based on 10 points.

thx in advance
Igor
Top achievements
Rank 1
 answered on 13 Nov 2012
1 answer
82 views
We're having quite a few problems with the Telerik reporting tools. Perhaps these issues are all just something we're doing wrong (and frankly we'd be happy if they were), but we're starting to believe that it's really a series of bugs in the product. This one we refer to internally as "Are We There Yet?".

Are We There Yet?
The Incredible Shrinking WPF ReportViewer is certainly a problem, but what led us to it in the first place is that there doesn't seem to be a way to host the ReportViewer in a RadWindow and accomplish the following:

  1. Position the window in the center of the owner (or even center screen) AFTER the report is actually rendered
  2. Ensure that the window is smaller than the screen resolution AFTER the report is actually rendered so that users can do things like click on the "Close" button

If we could set the ZoomMode to FullPage and then programmatically size and position the host window AFTER the report was rendered then we might be okay, but we can't find an event or other reliable way to know precisely when the ReportViewer is finished rendering so we're kind of stuck. Are we missing an event? How else can we generate the report and make sure the user can actually interact with it?

Greg
IvanY
Telerik team
 answered on 13 Nov 2012
1 answer
101 views
We're having quite a few problems with the Telerik reporting tools. Perhaps these issues are all just something we're doing wrong (and frankly we'd be happy if they were), but we're starting to believe that it's really a series of bugs in the product. This one we refer to internally as "The Incredible Shrinking WPF Report Viewer".

The Incredible Shrinking WPF Report Viewer
In our product, we host the Telerik WPF Report Viewer in a custom WPF user control (a Telerik RadWindow actually) and expose a ShowReportViewer method. What we would like to do is to activate (show) our control with the child Report Viewer and adjust the window size and placement so that the report is always clearly visible and, ideally, centered on the owner window.

Nothing exotic, right?

/// <summary>
/// Shows the report viewer.
/// </summary>
/// <param name="modal">if set to <c>true</c> [modal].</param>
public void ShowReportViewer(bool modal = false)
{
    this.WindowStartupLocation = WindowStartupLocation.CenterScreen;
    this.TelerikReportViewer.ViewMode = ViewMode.PrintPreview;
  
    //// Uncommenting this line results in the problem...
    ////this.TelerikReportViewer.ZoomMode = ZoomMode.FullPage;
  
    this.ShowWindow(modal);
    this.window = ParentOfTypeExtensions.ParentOfType<Window>(this);
    this.window.Topmost = true;
    this.window.ShowInTaskbar = true;
    this.window.Activate();
}

If we uncomment that ZoomMode line, our window will open then the ReportViewer will then immediately begin shrinking the report down to 0% one step at a time and continue to do so which means the user has to force close the app. It behaves the same as it someone were to open the window then immediately began clicking the zoom decrease arrow as fast as they could. Note that the zoom percent always starts at 13% (we have no idea why) and the behavior is the same no matter if we set the ZoomMode property value in XAML or in the code-behind.

Greg
IvanY
Telerik team
 answered on 13 Nov 2012
4 answers
164 views
I'm trying to print a report to envelopes in a Silverlight application. The printer has envelopes in tray 1, and plain paper in tray 2. Is there a way to get it to always pull envelopes from a specific tray, or to specify a particular paper size that the printer should use? Right now it always pull from the plain paper tray. I have the paper size in the report set to the size of the envelope. It's a standard #10 envelope.

Thanks
IvanY
Telerik team
 answered on 13 Nov 2012
1 answer
138 views
We're having quite a few problems with the Telerik reporting tools. Perhaps these issues are all just something we're doing wrong (and frankly we'd be happy if they were), but we're starting to believe that it's really a series of bugs in the product. This one we refer to internally as "Extra Pages".

Extra Pages
Some of our reports generate (seemingly) random extra pages. For whatever reason we have some reports that will generate an extra page even if the previous page has only one or two items in the detail section. However, this problem *might* have been solved after we upgraded to the Q3 2012 release.

We're continuing to test, but before we waste too much time here can anyone confirm or deny that an issue related to extra pages was addressed in the latest release?

Greg
IvanY
Telerik team
 answered on 13 Nov 2012
1 answer
274 views
Hello,

I am trying to use the ObjectDataSource with some parameters being passed to the DataMember method (it returns a data table and accepts 2 string parameters). Have configured the values to be passed in the 'Configure Data Source Parameters' screen of the DataSource wizard.

When using it in Designer, it will pass null parameters (break in debugger to examine the values passed proves this) BUT when doing a Preview the values specified in the wizard are being passed on. This causes a bit of an issue, as unless I set default values for my parameters (which kind of defeats the purpose) I am not able to access the Fields returned and design my report.

Is there something I'm missing here?

I have attached a couple of screenshots, please let me know if any more info is required.

Also, on a side note: When previewing the report, when parameters are being passed on, I noticed that my 'GetData()' method is called multiple times. How does that work? One would expect the report to call the method once and get the data table, then use it for the report... is this the behaviour when running in release mode as well?

Thanks in advance,

George
Peter
Telerik team
 answered on 13 Nov 2012
0 answers
63 views
I am looking at using the reporting product in a "disconnected" Silverlight application, where the user may not be connected to the internet, and the reports will/may be based on ObservableCollections serialised to Isolated Storage. I have looked at the samples and documentation for some inspiration and i think that I may use Business Objects, the classes are in a seperate project than the main one.

I am looking at creating dataobjects from these but I am experiencing some issues, the data annotations do not seem to be "resolved" in the silverlight class project (the ones with the classes in). I am then trying to create lists from these collections, and use these, in terms of performance or using the product the best way, am I on the right lines.

I have looked at samples/help files, such as Business Objects in the help file.

I may also use the RadRichTextBox to create the Report in, but the reporting tool seems to give me more flexibility, especially with the external Report building Tool.

I am making an assumption that i can use the reporting system when disconnected, if I cannot then fine, I'll use an alternative route.

The main problem I have been experiencing is seeing the classes that I created as a list when configuring the datasource, I seem to be able to view that in the configure datasource today, must have had a bad moment yesterday.

Thank you in Advance
Stephen Rouse
Top achievements
Rank 1
 asked on 12 Nov 2012
2 answers
76 views
I have been struggling with this problem for about a week now and have tried every trick I know and then  some.    I have looked at various articles in the forums : http://www.telerik.com/community/forums/reporting/telerik-reporting/every-other-page-is-blank.aspx with no success. 
I have a simple report  with 7 groupings where the data is coming from a SQL stored procedure.  The SP runs fine but some result sets produce the report with every other page blank and other datasets produce the report perfectly.   It runs the same sp in both cases.  One case returns about 450 rows and the other about 520.  I have set the detail line visible to false and then the report runs fine so I suspect it does have something to do with the detail.  I have also tried setting each control to visible = false 1 at a time but that did not work.  Short of sending in a project to debug, is there anything else I can do to track this down.  There is NO code behind in the report so everything being manipluated in the report is done in the designer.

The detail line as about 8 fields on it.

Any other suggestions on how to track down the issue before I bundle up the project.  (The database is well over a gig so I would have to get that down and change the DB to some stand alone db in order to make a project for you to look at.

Doug
Steve
Telerik team
 answered on 12 Nov 2012
2 answers
125 views

Hi,

I am using Telerik Reporting Q3 2012 with Silverlight 5. I would like to add reports in a Report Book dynamically. Could you please tell is there any way that I can send Report Names from client to the server so that I can create their instance dynamically and add them into the report book, like,

string rptNames = “Rpt1,Rpt1”;
string[] names = rptNames.Split(‘,’);
 
            Type type = Type.GetType(names[0]);
            var o = Activator.CreateInstance(type);
             ReportBook.Reports.Add((Report)o);
…..

I want to send rptNames from the client and get it on the server.

Thanks!

Adil

Adil
Top achievements
Rank 1
 answered on 12 Nov 2012
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?