Telerik Forums
Reporting Forum
9 answers
1.1K+ views
Hi,

I would like to know how to access the Fields.Item equivalent for a collection of complex objects. Unless I am overlooking something, the documentation for expressions is woefully inadequate. Where does the documentation mention the use of Fields.Item and other available api?
The only time I have seen any mention of the use of these api is in replies to forum posts and these are few indeed. Most of the replies that mention it are from Steve (many thanks for those).

In any case, what I am trying to do is pass the current list item data context to a method on the report data source object. The data source object exposes a list of complex objects that are used as the data source for a list in the report. The method call occurs when a table grouping expression is evaluated.

Expression example:
"=ReportItem.Report.DataSource.MyMethod(Fields.Item)"

If I can access the "Fields.Item" object everything works but of course it only works for objects such as strings.

I am using the latest version of the telerik controls (Q1 2013 build 7.0.13.228).

Thanks,
Tom
Chavdar
Telerik team
 answered on 17 May 2013
1 answer
74 views
I'm creating a simple label report. The label is preprinted with the logo, address and headers and I'm just filling in the data.

What I would like to do is create the report as it will print, so that when they preview it ,it'll look like it will on the preprinted form (with the logo, address and headers), but don't want the headers and such to print when they actually print.

Is there a way to do this?
IvanY
Telerik team
 answered on 17 May 2013
2 answers
215 views
Dear all, 

how to i can replace page header section with  report header section?

Actually i want show report header section above of page header section

Thanks very much



Mahdi
Top achievements
Rank 1
 answered on 16 May 2013
1 answer
130 views
How to open Outlook With Attachment in  Rendered PDF File in Web Application ? 
If I Rendered PDF it will  Saved in Server Machine .I Cannot View the Attachments in Client Machine? or 
 How Save the PDF in Client Machine Without Showing open/Save Dialog?

Stef
Telerik team
 answered on 16 May 2013
5 answers
1.8K+ views
I created an user control with RadTabStrip and RadMulitipage.It is placed in a Radpane in MasterPage.Content page(.ascx file) loaded dynamiclly into Multipage,Tabstrip is used to be a navigation.I built some reports.the reportviewer has it's own scrollbar,Both X and Y.when the content area is larger than the viewer's original size,it ugly. I want the reportviewer to fullfill the content area,the scorllbar of X is placed on the bottom and the Y bar is placed on the right.

what should i do?

Thanks
Stef
Telerik team
 answered on 16 May 2013
3 answers
1.1K+ views
I am wanting to set 2 parameter values to the start of the previous month and the last day of the previous month

Can I build a new date in an expression? Something like   = new Date(Today().year, Today().Month, 1).AddMonths(-1)
Chavdar
Telerik team
 answered on 16 May 2013
2 answers
351 views
Hi,

Is it possible to convert a Crystal Report report to a Telerik Report using the Telerik Report Designer?

If so, how?
If not, can I put it on the feature request list? :)

I have tried to convert several Crystal Report files by adding then onto a page, but this way I cant seem to convert it to a TRDX file..
And since we need to check them all by hand using the Report Designer it would be a very neat feature in the Report Designer.

Insad
IvanY
Telerik team
 answered on 16 May 2013
1 answer
71 views
Hello, 

I'm trying to display group headers even though the group is "Empty".  

My example setup:
Two data sources: GroupDataSource and FieldDataSource
Parameter GroupCodes: DataSource:= GroupDataSource, Value:= AllValues(Fields.GroupCode)
FiedDataSource contains SQL:
"WHERE  table.GroupCode in @GroupCodes"

Suppose I select group codes 1, 2, and 3, but there are only fields with groupCodes 1 and 2.  There will only be groups for 1 and 2, obviously, but I would like to make a header for the "empty" group (non-existant, in a way...) 3.  Is this possible?

Thanks,
Gabriel
IvanY
Telerik team
 answered on 16 May 2013
1 answer
204 views
Hi,

I have a chart that looks like this (see attached image).

How can I hide the "0" labels ?

I checked this: http://www.telerik.com/community/forums/reporting/telerik-reporting/how-do-you-hide-stacked-bar-items-which-are-zero-or-null.aspx

isn't any other way ? Like just iterate though the items that are databound and set Visible = false for labels ?

Many thanks,

Alex


 
Stef
Telerik team
 answered on 16 May 2013
1 answer
149 views
I have a report with a report footer and a page footer
when I add a subreport to the report footer the report adds blank pages with only the page footer, in spite of the fact that the subreport only appears once, at the very end
 - the sub report only has detail, the report header and footer having been set to zero height

this only appears in the page preview / printed page

what is going on here - and more importantly, how can I fix it?
Elliott
Top achievements
Rank 2
 answered on 15 May 2013
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?