Telerik Forums
Reporting Forum
1 answer
114 views

Hi,

I am using parametrised Stored procedure to fetch data for report. In the report I have  added a parameter 
for this Stored procedure. But parameter value does not assigned properly,
It always send null values as a Parameter to the SP. 
Am I missing something to solve this problem?
(using Q2 2013 Version of Reporting)

Thanks in advance.
Ivan Hristov
Telerik team
 answered on 21 Jun 2013
1 answer
120 views

the following code gives a null reference exception object reference not set to the instance of an object.
I have also tried:
TelRpt.ReportParamenters["txtContract"].value = cheader.ContractNum;
gives the same error.
cheader.ContractNum has a value.
If I take out this line the report converst to docx with no problem excet the contract number does not appear.

((TelRptContract)TelRpt).ReportParameters["txtContract"].Value = cheader.ContractNum;
Ivan Hristov
Telerik team
 answered on 21 Jun 2013
1 answer
121 views
What is the comparable command for running a telerick report?

I have tried ReportName.run and it only has isinrunmode.  I need to run the report before i convert it to docx so that some of my text boxes populate.  Following is the code with rpt as a ActiveReport

rpt.DataSource = new Select()
                                    .From(EP_Main.ContractHeader.Schema)
                                    .Where("ContractID")
                                    .IsEqualTo(cheader.ContractID)
                                    .ExecuteDataSet().Tables[0].Copy();
                     
                    rpt.Run();
 
TelRpt.Run //This is the telerik report and only gives isinruntimemode
Peter
Telerik team
 answered on 21 Jun 2013
4 answers
164 views
Hi,

I've created a report for invoices with following layout:

 -----------------------------------------------------------------------------------------
 |     Invoice header shown on first page of invoice  (Report header)       |
 -----------------------------------------------------------------------------------------
 |     Invoice number and further info shown on every page                      |
 |     (Group header without any grouping)                                               |
 -----------------------------------------------------------------------------------------
 |    Invoice positions / detail data   (Detail section                                    |
 -----------------------------------------------------------------------------------------
 |    Summary shown once after details   (Report footer                           |
 -----------------------------------------------------------------------------------------
 |    Invoice footer shown on every page   (Page footer                           |
 -----------------------------------------------------------------------------------------

In interactive mode this layout works fine. If the invoice positions expand to second page the group header with the invoice number is displayed correctly.
But in print preview mode the page breaking differs from the layout. If invoice positions fit to one page and the summary in printed on second page the group header isn't printed anymore on second page (even with option "PrintOnEveryPage").

How can I get the group header on page 2?

Best regards
Rayko
IvanY
Telerik team
 answered on 21 Jun 2013
2 answers
169 views
Hi, 

I am trying to do Batch Printing which has different values at each PageHeader Section.

I'm using Telerik Reporting 2012 Q3 with RIA service and C#.
I successfully made a case of invoicing report with a number of set printing. AKA) Batch Printing.

Basically, the report has a PageHeader and detail. Detail has a group which is making grouping by "Field.CtPackSort"
In groupFooterSection, I set up PageBreak property as "After". These are making the report as a batch printing report.

Here is my question.
Can I get the values in the Page Header Section same as  of "Field.CtPackSort" value? 
Not needed to get entire PageHeaderChildrenElements,
all I want to do is binding different value of Field.CtPackSort at each Pages of PageHeaders.

I am well aware of PageHeader has only ONE value, and entire report repeat the same value.
I saw that there is a REPORT BOOK which set many different reports as a one report.

Thank you in advanced.

Sincerely,
Hyun Lim
H
Top achievements
Rank 1
 answered on 20 Jun 2013
2 answers
131 views
Hey guys, I wanted to ask a quick question after reading the documentation on groupings I don't think it will accomplish what I am looking for: Heres an example

Different customers have set data and on that data they assign a grouping to that data. Groupings can be whatever the customer specify s.  So on the report it should look like 
Data Data Data
Data Data Data
Grouping1      Sub-Total   Sub-Total  Subtotal
Data  Data  Data
Data  Data  Data
Grouping2    Sub-Total   Sub-Total  Subtotal

All the groupings are stored in a database along with the data. What would you reccommend to do something like this, From what I could tell the grouping part of rad reporting wouldn't solve this.

Thanks in advance.
Yonggu Kang
Top achievements
Rank 1
Iron
 answered on 20 Jun 2013
13 answers
560 views
I know Telerik plan to have an export to Word option in the future and it's not in Q3 2007 but I have a project coming up that requires this functionality and would like to consider it for possible use.

Something like Crystal Reports has an export to Word capability but the resulting document is formatted using frames and is very difficult to edit. There is a product built onto SQL Reporting Services (OfficeWriter by SoftArtisans) that creates a 'proper' Word document that you can edit as if you had created it in Word yourself.

What I'm interested in finding out is whether the plans for export to Word in Telerik Reporting would produce a document fomatted using frames or one that would be a 'proper' Word document?

Are your plans this far advanced to be able to provide an answer?

Thanks for your help.
Peter
Telerik team
 answered on 19 Jun 2013
1 answer
191 views
A sorry error is generated when trying to export some of our new reports. 
It appears to be tied to there being a large amount of data in the export.
We are able to reproduce this when there was a search criteria on 439 
records. We were able to export this report to pdf when doing so directly 
from the web server. 

Has anyone else run across this error and if so how did you resolve it?

We are using VS2010 Pro and Q3 2012  Telerik reporting.
Stef
Telerik team
 answered on 19 Jun 2013
1 answer
64 views
ActiveReports has a format method for each section.  This is where the code activity occurs to populate boxes within these sections.  I do not see that telerik reporting has that option so where does the code reside that would populate the txtboxes on the sections.  I have no code to attach because i can not find where to put it.
Stef
Telerik team
 answered on 19 Jun 2013
20 answers
1.0K+ views

How do I export to WORD? I am using winform.
I can do to PDF and XLS DOC for not more!!

reportViewer1.ExportReport("DOC", new Hashtable());   // BAD
reportViewer1.ExportReport("XLS", new Hashtable());   // OK
reportViewer1.ExportReport(
"PDF", new Hashtable());   // OK


Could someone help me?

Calvin
Top achievements
Rank 1
 answered on 18 Jun 2013
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?