Telerik Forums
Reporting Forum
4 answers
170 views
Hi,

In my report header I have a number of fields placed vertically.  If there is no data for one or more of these fields I would like the fields with data to move up vertically to take the place of the missing fields i.e. same functionality as a vertically oriented stackpanel.  Each field has a matching label with a different format to the data field (if they all had the same format I could achieve this quite simply in a single textbox): 

Contact: John
Phone: 555-555-5555
Fax: 555-555-55555
Email: john@company.com

(e.g. if there was no Fax number for John then the email row would move up to to the position of the Fax row).

I imagine I could do this in code by positioning the fields manually but I'm hoping there is a better way.

What is the recommended method for achieving this?

Thanks,
Steve
Stephen
Top achievements
Rank 1
 answered on 15 Jul 2011
1 answer
166 views
We have a report that integrates a number of subreports, and generally only a couple of them will have data for any particular parent item. Is it possible to programmatically hide the subreport if there are no rows?

TIA.
Steve
Telerik team
 answered on 15 Jul 2011
4 answers
159 views
HI there folks

i've just tried to upgrade my solution 

which had been using Telerik Reports Q1 2011

and i've tried upgrading it to Telerik Reports Q2 2011

the upgrade goes through successfully 

but when I try to build I recieve the following error message on all of my Report Designer.cs files


'Telerik.Reporting.ReportParameter' does not contain a definition for 'UI' and no extension method 'UI' accepting a first argument of type 'Telerik.Reporting.ReportParameter' could be found (are you missing a using directive or an assembly reference?
IT
Top achievements
Rank 1
 answered on 15 Jul 2011
1 answer
466 views
I am using the report controls in our mvvm silverlight application. I am passing in 5 different parameters within a dictionary. the last item in this dictionary is a List<int>. This list contains ids that I will then use against an entity to create my report from. 

I am finding no luck anywhere on how to pass in a generic list as a parameter. Again we are using an MVVM pattern so the examples I have seen online that use codebehind are not much help. I am sure that I am missing something within the report itself that will allow me to use a Generic list.
Steve
Telerik team
 answered on 15 Jul 2011
2 answers
131 views
Hi,
   I have one web solution and trying to create reports. I added a folder "Reports" to that solution and trying to add Telerik Report. It is asking me to add in "app_code" folder. If I click NO, It is just showing code behind file. I can not see the designer. Is there anything I am missing.


Thanks
Chiran
Steve
Telerik team
 answered on 15 Jul 2011
4 answers
320 views
Hi,
I am using Reporting Q1 2011 and am trying to make a report that contains a subreport. I am using a ObjectDataSource for this report. I am not setting the datasource for the subreport, I am using the NeedDataSource event to do that. Problem is, I can't figure out how to refer to the element I need. I downloaded an example from this site http://www.telerik.com/community/forums/reporting/telerik-reporting/sample-for-master-detail-using-object-collection-as-datasource.aspx that shows how to do this, but it's from an older version and the .DataItem property is no longer available. I can't seem to find a current example of how to do this. So how exactly does one gain access to dataitems in a business object so that the datasource of the subreport can be set correctly using Q1 2011?

Thanks
John
Top achievements
Rank 1
 answered on 14 Jul 2011
3 answers
115 views
Hi,
I've just updated my reports from the Q3 2010 release to the new Q2 2011 release and on all reports I am now getting the following error when previewing the report in VS: "The source of the report definition has not been specified".

In the code behind the report I manually setup the datasource and it was working perfectly till now.  

Is there some obvious breaking change that has caused this to appear?

Regards,

Jon
Jon
Top achievements
Rank 1
 answered on 14 Jul 2011
15 answers
719 views
Hello,
I want to display some fields in Hyperlink , as when clicked go to specific from , please if it's available tell me how .
Thanks in advance

Kariem Samy
bas
Top achievements
Rank 1
 answered on 14 Jul 2011
3 answers
84 views
I have a report that uses a line chart to show a trend of data across a date range. Code has been put in place to compensate for how the x-axis labels are rendered so that a large date range is readable. On the NeedDataSource event for the chart, I fetch the data then use the following code to adjust the x-axis label.

int labelStep = (dataList.Count / 10);
 
chartTrendByDay.DataSource = dataList;
if (labelStep == 0)
    labelStep = 1;
chartTrendByDay.PlotArea.XAxis.LabelStep = labelStep;

When viewing the report in the ReportViewer, the above code results from 1..10 points on the x-axis. The problem is, when exporting to PDF I end up with 1 point for each day (i.e. a report for the trend across the year results in 365 data points), which is unreadable in most circumstances. See attached for the viewer-vs-PDF screenshots.

Question: How to I fix the export to PDF so that the x-axis is readable?
Steve
Telerik team
 answered on 14 Jul 2011
0 answers
77 views
I'm using Telerik Q3 2010, I want to get PageCount and PageNumber from Report Library. I call method GetPage from C# but I can't find BeginRenderPage event to add page number and pagecount to my report.  Can you help me resolve that ? Thanks you!
Mr Cong
Top achievements
Rank 1
 asked on 14 Jul 2011
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?