Telerik Forums
Reporting Forum
1 answer
299 views
Hello,

I am using Telerik Reporting Q1 2012.

I have run into an issue that when several of my Telerik reports are exported to a Word Document (docx), the page margins in the resulting work doc are different from the ones specified in the report. This can cause a margin print error for several users (including a very unhappy company VP).

I had the report footer set to .25 inches within the report (Layout - Page Settings - Margins). However, it gets reset to .14 inches after export to Word. When certain users try to print the report from Word, they receive an error message telling them that the margins are outside their printer margins. (Note that this was not a problem with the previous version of Telerik we were using.)

My work around has been to set the bottom margin of the report to .38 inches so it falls within their printer margins when the report is exported to Word. However, this means that when the report is pulled up in the viewer or exported to a different extension (PDF for example), the bottom margin remains at .38. Which not only looks sloppy, but also can cause the report to use extra pages when there is lots of data.

Is there a way to programatically set the bottom page margin to .38, but ONLY when exporting to Word?

Thanks,

Tina
Steve
Telerik team
 answered on 21 May 2012
1 answer
164 views

Hi,

I am trying to override some report data values using the ItemDataBinding or Bound events, specifically I am looking for DateTime type values so I can override them with a local time conversion. Our DB stores all times in UTC and these need to be shown in local time on our website using the Report Viewer.

It is my understanding Reports has no native capability to do this (please let me know if I'm wrong!). I have been able to detect the values I need to override in the ReportBaseItem.DataObject object / RawData object instance using the properties collection (descriptor) method GetValue however SetValue seems to have no impact on the RawData and fails to reflect my update.

I would appreciate if anyone could provide any hints that may point me in the right direction.

Regards,
Craig

Steve
Telerik team
 answered on 21 May 2012
3 answers
91 views
I have a report with 2 sub reports that each have a chart. I have a series of measurements that need to be charted in a two column format. Due to the data that is being displayed, some of the charts need to have a different 2nd YAxis range. This would not be an issue except some of the data to chart is below 1. The code to set the values for the 2nd YAxis is triggered on the NeedDataSource event within each subreport. As an example I am setting the 2nd YAxis with a min of 0 and max of .5 with a step of .05 with AutoScale off and IsLoarithmic off.  The values for the 2nd YAxis are passed in as parameters to each subreport and each of the charts are showing correctly in preview mode. When the report is printed or exported to PDF, the 2nd YAxis will have the range of the last chart in the report. 
 
Steve
Telerik team
 answered on 21 May 2012
2 answers
385 views
Hi there telerik,

I updated OpenAcess ORM dll for new Q1 2012, and after that my reports never work again.

When I try see a report, appears a message in report Viewer of this type:

A report instance of type 'ReportClass.ListaReunioes' cannot be created.
Unable to cast object of type 'ReportClass.ListaReunioes' to type 'Telerik.Reporting.IReportDocument'.


My report dll version is 5.3.11.1116

My Radsilverlight dll controls version is 2011.2.712.1040

My OpenAcessORM version is 2012.1.301.2 (Q1 2012 )

Please let me know if this is a conflit library problem, or if could be something else.

Thanks in advance,

Nelson Silva
Steve
Telerik team
 answered on 21 May 2012
1 answer
114 views
Why is Telerik Reporting not built against the latest version of the Telerik WPF libraries (2012-1-0326)?

I upgraded a project the use the latest WPF build but had to downgrade it back to 2012_1_0215 because of incompatibilities with Telerik Reporting.

Thanks,

Rob
Steve
Telerik team
 answered on 21 May 2012
1 answer
157 views

Hi There,

There are 2 problems about the Report Parameters.

1,I have a textbox in the pageHeaderSection and i want to set its value at runtime.Now i have add a parameter named 'Title',but i can't find any event of the report like 'loaded',there is only disposed event .So how i pass the parameter value to the textbox at runtime?

2.As we know,the SqlDataSource component supports parameterized SQL query and i'm using Oracle provider.Now i write a sql as

'SELECT * FROM Person WHERE Name in :Name' .The parameter 'Name' is a array,and my code is like ' new Parameter() {Key = "Name",Value = "('A','B','C')"}',But it doesnt work.How should I edit the 'Value' set to the parameter 'Name'?

Thanks

Steve
Telerik team
 answered on 21 May 2012
1 answer
171 views
When I try to set the top padding for the detail section (with ColumnCount=2) it applies only to the first column!! Is there a way around this?

I'm using Reporting Q2 2011, and a table item inside the detail section.

Thanks.
Elian
Telerik team
 answered on 21 May 2012
1 answer
63 views
Hi,

My client would like to use your reporting tool but strictly within their web app. The reason for doing this is they need to wrap a fair amount of your reporting capabilities within their existing logic which includes context security,etc. They wish to let the end users select the reports to be run and which columns to use, etc. After reviewing your software I think we can do it, but we would have to bypass the use of your Design Time ReportDesigner. They also would not be able to use your upcoming desktop application as we have to integrate their existing code in thIs part of the reporting application.

My quesiton is this. Do you have code samples/projects that I can use as a starting point to get my going along this path. Ideally everything would be done at runtime. I would build a framework which would wrap your reporting tools for runtime use. In effect this would have to bypass the use of the ReportDesigner because everything would be setup at runtime.

Thank You

Steve
Telerik team
 answered on 21 May 2012
1 answer
126 views
Is there a way to programatically output multiple pdf files  by either an asp.net code behind or widows code behind?

Thanks

--Pat Brown
Pat
Top achievements
Rank 1
 answered on 20 May 2012
1 answer
119 views
I am attempting to install the Telerik Reporting internal build 6.0.12.504. I click on the .msi to initiate the installation then receive a message "This setup requires the .NET Framework 2.0 or higher."  After clicking "OK" the installation closes.

I have all the frameworks from 2.0 - 4.0 installed. I am a licensed user of Telerik reporting. Surely the error message does not describe the real problem?  What is the reason I receive this message and how can I complete the installation?
Steve
Telerik team
 answered on 18 May 2012
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?