Telerik Forums
Reporting Forum
3 answers
272 views
I have a class called clsInvoice.  I have a report called InvoiceReport. When InvoiceReport is created, the DataSource is assigned to be a clsInvoice.  Then I assign a few images on the report manually.  Then I preview the report.  All is well.

Now I want to print multiple invoices.  I created a new report MultInvoiceReports.  I added a detail band only.  I added a SubReport to this band, and set it to be an InvoiceReport.  My InvoiceReports data source is an ObservableCollection<clsInvoice>.

I tried for a long time to get bindings to work.  I never could.  Eventually I used the NeedDataSource method and manually assigned it.  The images I was creating and assigning did not print, but the report worked otherwise.

Next, I removed the subreport from the designer, and tried everything manually:
foreach (clsInvoice c in InvoiceList)
{
  // Create a new InvoiceReport
  // set the data source to c
  // Assign my images
  // Create a subreport
  // Set the ReportSource to the InvoiceReport
  // Find the DetailSection in MultInvoiceReports and add the subreport to DetailSections.Items.
}

This makes the reports all show, however there are 4 to 7 blank pages between sub reports, and again my images do not work.

Is there a better way to do this?
Paul
Top achievements
Rank 1
 answered on 24 Jan 2012
1 answer
71 views
We have a Web applicaton that is getting the following error when trying to run a report.  The database and web server are on the same machine and the application functions correctly.  Can anyone give me a idea where I could look on fixing this issue,
Stephen
Top achievements
Rank 1
 answered on 24 Jan 2012
0 answers
57 views
Hello,

We are trying to give users a context menu when they right-click over the report (rather than showing 'Silverlight').
We can capture the event and detect it is over the reportviewer.

The issue for us is that we want to give them copy/paste functiionality if there is text highlighted in the textboxes that hold the parameters, but not otherwise.  The biggest issue is that we can't find a way of 'getting at' the textboxes that hold the parameters.

Any suggestions - is this possible at all?

Thanks,
 Ed
Ed
Top achievements
Rank 1
 asked on 24 Jan 2012
2 answers
123 views
Hi!

Is it possible to use multivalue parameters together with an openaccessdatasource?
I have problems when using them in filter expressions.

/Joakim
Joakim Winkler
Top achievements
Rank 1
 answered on 24 Jan 2012
1 answer
175 views
Hi we have our application in visual basic 6 with crystal reports. but we want to change telerik reporting.

telerik reporting is possible to use in applications in vb6 ?
Steve
Telerik team
 answered on 24 Jan 2012
1 answer
97 views
Hi telerik team,
I'm developing a reporting char, and I needed your support:
My chart have many duplicate xaxis (with the hours of the records.) and i just want remove it.
I put a chart image in attachment and i leave the source...

private void PositionTempChartNeedDataSource(object sender, EventArgs e)
{
PositionTempChart.DataSource = this.DataSource;
 
var procChart = (Telerik.Reporting.Processing.Chart)sender;
var defChart = (Telerik.Reporting.Chart)procChart.ItemDefinition;
 
defChart.IntelligentLabelsEnabled = false;
defChart.PlotArea.Appearance.Dimensions.Margins.Top = Unit.Pixel(25);
defChart.PlotArea.Appearance.Dimensions.Margins.Bottom = Unit.Pixel(25);
defChart.PlotArea.Appearance.Dimensions.Margins.Left = Unit.Pixel(25);
defChart.PlotArea.Appearance.Dimensions.Margins.Right = Unit.Pixel(0);
             
var temperature1 = new ChartSeries { Type = ChartSeriesType.Line };
temperature1.Clear();
temperature1.DataYColumn = "Temp1";
temperature1.DataXColumn = "DoubleDateTime";
temperature1.Appearance.ShowLabels = false;
temperature1.Appearance.LineSeriesAppearance.Color = System.Drawing.ColorTranslator.FromHtml("#86D8A0");
temperature1.Appearance.LegendDisplayMode = ChartSeriesLegendDisplayMode.Nothing;
defChart.Series.Add(temperature1);
 
var temperature2 = new ChartSeries { Type = ChartSeriesType.Line };
temperature2.Clear();
temperature2.DataYColumn = "Temp2";
temperature2.DataXColumn = "DoubleDateTime";
temperature2.Appearance.ShowLabels = false;
temperature2.Appearance.LineSeriesAppearance.Color = System.Drawing.ColorTranslator.FromHtml("#F09081");
temperature2.Appearance.LegendDisplayMode = ChartSeriesLegendDisplayMode.Nothing;
defChart.Series.Add(temperature2);
 
defChart.PlotArea.XAxis.DataLabelsColumn = "DoubleDateTime";
defChart.PlotArea.XAxis.IsZeroBased = false;
defChart.PlotArea.XAxis.AutoScale = false;
defChart.PlotArea.XAxis.Appearance.ValueFormat = ChartValueFormat.ShortTime;
defChart.PlotArea.XAxis.Appearance.CustomFormat = "HH";
}


Can you help us? 
Thanks
Giuliano Caetano
Giuliano Caetano
Top achievements
Rank 1
 answered on 24 Jan 2012
1 answer
103 views
Hi.

I would like to know how to display SmartLabels for values that less than 11. Please take a look at the attached screen-shot. The smart labels is displayed only if value is 11 or bigger. How can I change this behaviour?
Many thanks in advance.

Dmitry
Evgenia
Telerik team
 answered on 24 Jan 2012
1 answer
162 views
I am writing to determine if it is possible to apply a Report Server report URL, with an additional query string consisting of a Username and Password, to the ContentUrl of a RadPane;

The goal is to eliminate the need of the sign in message box of the Report Server, and simply display the report in the web page;

Adding the below syntax to the Report Server report URL still results in the sign in box of the Report Server to appear -

&dsu:datasourcename=xxxx&dsp:datasourcename=xxxx

Any insight is appreciated;
Steve
Telerik team
 answered on 24 Jan 2012
1 answer
210 views
Hi,

I am unable to get the ReportViewer for WPF to load. I have created a simple Class Library that contains my Report and data (.sdf SQL CE data file) and a Basic WPF Application to test the Report. The report loads and shows data fine, however, after adding the ReportViewer to the Main.xaml page I get an Exception when running the app?

"A first chance exception of type 'System.Windows.Markup.XamlParseException' occurred in PresentationFramework.dll
Additional information: Set property 'System.Windows.ResourceDictionary.DeferrableContent' threw an exception."

If I remove the ReportViewer from the page, everything loads and runs fine? Below is the xaml that I added to the page...

xmlns:tr="clr-namespace:Telerik.ReportViewer.Wpf;assembly=Telerik.ReportViewer.Wpf"

<Grid>
   <tr:ReportViewer Name="reportViewer1" />
</Grid>

I have tried setting the Report but removed it to see if the Viewer would even load... It didn't. I have tried on two different machines and both fail? Is there more to this that I am not seeing? I watched the example on Telerik.tv and followed to the letter?

I am using the below versions -

Windows 7
Telerik.ReportViewer.Wpf (5.3.11.1116)
Telerik.Reporting (5.3.11.1116)

thanks,
SD.
Steve
Telerik team
 answered on 23 Jan 2012
4 answers
110 views
Using Reporting version 5.3.11.1116 and coding a report with WebForms reportviewer..  I am having a couple of problems:

1. On rendering the report in the browser, the lower part of my page header is truncated on the last page of the report.

2. On rendering the report, the page numbering is displayed correctly.  But on printing the report, it prints:
Page 1 of 0
Page 2 of 0
Page 3 of 0

Are these known problems with this version?
Dan
Dan
Top achievements
Rank 2
 answered on 23 Jan 2012
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?