Telerik Forums
Reporting Forum
1 answer
41 views
Hi,

I have this problem with a aria graph, I put it in a panel and set it's margins to 0. In the designer it show perfect (see designer.png) in the silvelight it does not show stretched (see image).

Regards, 
Steve
Telerik team
 answered on 14 Feb 2011
5 answers
418 views
I have one master report with 12 sub-reports in it.  When I run the report which is 8.5 x 11 letter paper the report shows as one huge page.  I just need to find out how to page properly between letter-sized pages.  I'm not too concerned where the pages break within the sub-reports but I would like to keep certain sub-report detail t
Steve
Telerik team
 answered on 14 Feb 2011
1 answer
251 views
How can I count how many records per group by item.
ex:
group by Category         count Subcategory           
------------------------------------------------------------------
Category1                              2 (sub1,sub2)                                            
Category2                              3 (sub3,sub4,sub5)          

                                                   
Thanks
J Do
Top achievements
Rank 1
 answered on 12 Feb 2011
1 answer
208 views
I need to test some extensive code behind logic for a report I am developing, so I added a Windows form project to my solution that contains the class library with the report in it.  I added the necessary reference to my code library and set the window form as the start up form.  I added the Report Viewer and the correct reference to my report in the Report property.  So far no problem.  When I attempt to generate the report however, I get the following message "An error has occurred while processing Report 'report object name'  Unable to establish connection to the database." etc.  I have verified my database connection.  I have no problem previewing the report from my class library.  It generates just fine but with invalid data, thus the need to single step through my logic.  What am I missing in setting up this testing environment.  thanks in advance.
Steve
Telerik team
 answered on 11 Feb 2011
1 answer
286 views

I've got a Telerik report that was compiling and previewing just fine until I added the most recent data source, a SQL Server view that provides data to several of the crosstabs. The data source itself works fine; when I "configure" it in the Data Source section I can execute the query and return correct results. So I don't know if the data source is the problem, but as soon as I added the data source, changed the formulas and filters in the crosstabs to refer to them (instead of the old data source) and then tried to run the report, I got this error:

Exception has been thrown by the target of an invocation. Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "PDS.reports_13monthrollingweb.resources" was correctly embedded or linked into assembly "PDS" at compile time, or that all the satellite assemblies required are loadable and fully signed."

I'd be happy to do all that if I knew what it meant. :) How do I make sure the ".resources" file is correctly embedded into the solution ("PDS"), and/or what are satellite assemblies and how do I know if they are loadable and fully signed?

Thanks.

Addendum: Digging around in other reports, I notice they don't have SQL data sources listed in their .resx file. In this report, none of the other SQL data sources are in the .resx file, but the new one is (see attached). Should I just remove it? Why is it appearing there when the others aren't?

Rose
Top achievements
Rank 1
 answered on 10 Feb 2011
2 answers
137 views
Hello Telerik,

I am creating a chart from a SQL datasource.  I have two series that are bound to columns on the datasource.  If I preview the chart, it looks good and the chart matches the data.  My next step is to display my own custom X-Axis labels.  I do this by setting PlotArea.XAxis.AutoScale = false and create the items manually.  However when I do this and preview the chart, the chart does not look correct (the line does not match the data from the database).

This forum post seems to be related: http://www.telerik.com/community/forums/aspnet/chart/trouble-with-custom-xaxis-labels.aspx
It suggests that I do not set the xvalue inside my chart series.  However, I am adding the series by binding to a datasource, so I do not see how to make this work in my case.

Here is my code:
//set the datasource
chart1.DataSource = this.sqlDataSource1;
//COMMENT OUT THIS SECTION AND THE CHART LOOKS GOOD
//add new xaxis series items
chart1.PlotArea.XAxis.AutoScale = false;
chart1.PlotArea.XAxis.AddRange(1, 7, 1);
chart1.PlotArea.XAxis[0].TextBlock.Text = "12/1/10";
chart1.PlotArea.XAxis[1].TextBlock.Text = "12/5/10";
chart1.PlotArea.XAxis[2].TextBlock.Text = "12/10/10";
chart1.PlotArea.XAxis[3].TextBlock.Text = "12/15/10";
chart1.PlotArea.XAxis[4].TextBlock.Text = "12/20/10";
chart1.PlotArea.XAxis[5].TextBlock.Text = "12/25/10";
chart1.PlotArea.XAxis[6].TextBlock.Text = "12/30/10";
  
//add the series 1
ChartSeries seriesAvg = new ChartSeries();
seriesAvg.DataYColumn = "Average";
seriesAvg.Type = ChartSeriesType.Area;
seriesAvg.DefaultLabelValue = "";
chart1.Series.Add(seriesAvg);
//add the series 2
ChartSeries seriesMax = new ChartSeries();
seriesMax.DataYColumn = "Max";
seriesMax.Type = ChartSeriesType.Line;
seriesMax.DefaultLabelValue = "";
chart1.Series.Add(seriesMax);


Am I doing this totally wrong, or is there a work around?

Thanks, Chris
Chris Ward
Top achievements
Rank 1
 answered on 10 Feb 2011
12 answers
535 views
I have a very simple report of names and departments.  The report has a grouping to print departments and does a page break after a department to start a new one.

Sales
  John Smith
  Mary Jones

Human Resources
  Steve Garcias
  Jeremy Doe

Etc...

However, I'd like the Department Name to print all the way at the very bottom of the page so that every page has its department on the bottom, in the same spot regardless of how many names are on the page (or if the list of names spans several pages each page prints the department name in the same spot).  If I add the department name to the Group Footer, it prints directly after the names and I noticed on the forums you cannot align the group footer to the bottom of the page.  If I put the department in the Page footer, it just prints the first department name on every page. 

This is a simple task in an Access Database Report, but how can I do this in Telerik?
David Gallant
Top achievements
Rank 1
 answered on 10 Feb 2011
1 answer
102 views
Hi,

I have not been able to have a report display when the business object is located outside the report's class library project.  I have added a reference to the business object's project, and the report designer allows me to set up a data source and view fields in the data explorer, but when I click on preview it says:

Error has been thrown by the target of an invocation.
------------------- InnerException ------------
Object reference not set to an instance of an object.


When I move the business object into the report library and hardcode its connection string, then it works.  I notice that the sample app supplied by Telerik also has the business object in the report library.  Is this a necessity, or can the business objects be in another project?

Thanks.
Ron
Steve
Telerik team
 answered on 10 Feb 2011
1 answer
306 views
Hello,

Here's a page were I display a barcode:
http://74.84.130.250/

The report viewer scrolls.

How do I adjust this so it does not scroll?

Like an iFrame you can do scroll=0
Steve
Telerik team
 answered on 10 Feb 2011
1 answer
128 views

Hello,

I am currently using Telerik reporting Q1-2009.  I have a report that prints fine when viewed in the ReportViewer.  When I implement the code to print the report directly to the printer  based on the following KB Article http://www.telerik.com/help/reporting/p_telerik_reporting_processing_reportprocessor_printcontroller.html it will go directly to the printer and not display the dialog box, however, the report itself prints the right and bottom margins off the pages is the best way to describe it.  The top and left margins appear to be ok, but the line spacing is also off a bit. 

I am assuming that it may be the difference between printing to printer and not using the adobe reader vs viewing in the viewer which is using the adobe reader and printing from there maintains the look.  If this is the case, how do I get it to print directly to the printer in the same format as when viewed and printed from the viewer. 

I am using ASP.NET VB code for the website.  This is a web application.

(in attachments ignore the 2 images with the dark gray border.  This was confusing as it was the background of my desktop when I captured the images.)

Doug

Steve
Telerik team
 answered on 10 Feb 2011
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?