Telerik Forums
Reporting Forum
1 answer
110 views
Hi,

I am attempting to create a Console Application to schedule the creation of reports programmatically.  I found your example for creating PDF-files that seems easy enough.

I added a reference to Telerik.Reporting.  I also added "using Telerik.Reporting.Processing;".  Visual Studio 2010 intellisense seemed to accept the syntax and I was presented with intellisense "period-alternatives" (and no squiggly red underlines).

However, when I then attempted to build the project, I received the following error-message:
"The type or namespace name 'Telerik' could not be found (are you missing a using directive or an assembly reference?)"

Versions:
Telerik Reporting Q1 2014
Visual Studio 2010 (SP1)
.Net 4.0

Questions:
1. Are there known "issues" using Telerik Reporting with Console Applications?
2. Where else could I possibly reference the Telerik dll?
3.  Since this is a very common need, could you provide sample code for a Console Application?

Thanks in advance!
Stef
Telerik team
 answered on 07 Apr 2014
6 answers
311 views
Hello,

since I using Telerik Reporting Version 7.1.13.612 I have trouble with my Zebra TLP 2844 Printer.
Instead ob Landscape the Printer prints in Portrait Mode. When I used the Version 6.1.12.611 the Printer worked well.

Do I need to change any settings?

Stef
Telerik team
 answered on 07 Apr 2014
3 answers
173 views
I found an old post with a sample for a SubReport to display hierarchical data.  There was an error in it that I cannot seem to fix.  I created my SubReport and have it working recursively.  But when I add it to my main report in the details section, it works for the first data item, but when it adds the subreport for the second data item it gives an error because there is already a SubReport with that name.  So, I add a SubReport to my details section, it automatically names it subReport1.  When I run the report the first item in my details section runs beautifully.  When it gets to the second item the Subreport displays an error because it is also named subReport1.  The Name property of Telerik.Reporting.Processing.SubReport only allows getting, not setting, so I can not programmatically rename it on ItemDataBinding.  What would the work around be for this?
Hinata
Top achievements
Rank 1
 answered on 07 Apr 2014
1 answer
139 views
Hi

I created one report that inherit one report template.
But I want to change the template of the report based on conditions in UI.
Is it possible to change template of the report from UI?

What I have done is created another report same as original one and change template.
And in UI call each report based on condition.

Is there any other way to do this without creating another report?

Thanks

Jain
Nasko
Telerik team
 answered on 07 Apr 2014
2 answers
279 views
Hi,

We are using Report Viewer on a ASP.NET web form to show a report designed using Telerik Report Designer Q1 2014. We have to load more than 10000 records inside a report. We are using paging so that a page has around 100 records. As performance point of view is it possible to load the data using data paging, like your data pager control, where only the data that are required for a page is loaded at a time instead of loading all the data at once. Also need to consider if user want to export or print the report, in that case report should bring all the data.

Regards,
Majid
Majid
Top achievements
Rank 1
 answered on 05 Apr 2014
1 answer
145 views
Good day all,

I am using telerik Q3, 2013 I have a bit of challenge achieving this scenario.
I have an Order page where i take orders from customers for goods they want to purchase which are saved in the database.
After taking the orders and hitting a complete sales button i want the page to redirect to an invoice page which should be a telerik report and display the items and the prices using the InvoiceNO as a querystring.
I have being able to design the report using the report designer but implementing the querystring on the page load so as not to now select is being the problem.
Can anyone help me with and idea or solution.
Thanks soo much
Hinata
Top achievements
Rank 1
 answered on 03 Apr 2014
1 answer
69 views
We are using Reporting 2013 Q3 in a WPF Application together  with RadControls 2013 Q3 1316 and so far everything runs fine.

Now we are trying to update to Reporting 2014 Q1 (via Wizard or manual). When a new ReportViewer is being instantiated with 

Telerik.ReportViewer.Wpf.ReportViewer reportViewer = new Telerik.ReportViewer.Wpf.ReportViewer();

we get a assembly not found exception:

Die Datei oder Assembly "Telerik.Windows.Controls, Version=2013.3.1202.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7" oder eine Abhängigkeit davon wurde nicht gefunden. Die gefundene Manifestdefinition der Assembly stimmt nicht mit dem Assemblyverweis überein. (Ausnahme von HRESULT: 0x80131040)

Obviously Reporting 2014 Q1 references somewhere Telerik.Windows.Controls, Version=2013.3.1202.40, but we cannot find where to change it...
Peter
Telerik team
 answered on 03 Apr 2014
1 answer
65 views
Hi telerik,

I just upgraded my WPF/Silverligt projects from Q3 2013 to  Q1 2014
and WPF upgrade works successfully as described in document.

However, silverlight upgrade is not working.
Though I copied new xaml files from Q1 silverlight folder and added resource dictionary,
SL viewer still shows blank diffrently with WPF.
It's compiled anyway and when I open preview, error says 'telerik:PickerToggleButton' can't create system.type.
I guess silverlight assembly does not match with your new xaml resource,but I re-confirmed
that every telerik dlls are upgraded to Q1 2014.

My SL project had to do some bug fix ASAP and I seriously regret why I upgrade reporting with new version.
Pls let me know how to fix this upgrade. Your quick reply would be appreciated.

RGDS
Kang

Stef
Telerik team
 answered on 03 Apr 2014
1 answer
122 views

I have a table in telerik reporting.  I then proceeded to add a row group.  This adds a "column" on the left of the table for the group.

If I set this "column" to have a width of 0 (e.g. 0cm), and then I try to create an output for the report to pdf using code below, I get a null reference exception on the last line shown below (I have not included other lines that follow). 

If I set the "column" for the row grouping to a width other than zero (e.g. 0.1 cm, 1cm, 2cm, etc) this null reference exception doesn't occur.

I found this as I was trying to "hide " that column (for now I just did a work around where I set the width to 0.1cm, set the text to white (against a white background and moved the table 0.1cm to the left to make it look consistent with other tables)
If CertReportBook.Reports.Count > 0 Then
    Dim instanceReportSource As New Telerik.Reporting.InstanceReportSource()
    instanceReportSource.ReportDocument = CertReportBook
 
    Dim reportProcessor As New ReportProcessor()
 
    Dim tcfiletype As String = "PDF"
 
    Dim result As RenderingResult = reportProcessor.RenderReport(tcfiletype, instanceReportSource, Nothing)
Stef
Telerik team
 answered on 02 Apr 2014
1 answer
85 views
I am using the HTML 5 viewer to show my report, I want to pull two pieces of data out of the report and show it at the top of the web page.

so I need the following

1. Events to know when the data has changed
2. A way to get to the data in the report.
Stef
Telerik team
 answered on 01 Apr 2014
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?