Telerik Forums
Reporting Forum
2 answers
1.1K+ views
I have a report that is bound to a list of business objects, where the Detail section is repeated once for each business object in the list.  The Detail section has a divider line at the bottom that helps to visually distinguish each section.  I don't want that divider line to show up after the very last section though.

I've had trouble finding out how to implement this.  It looks like in the past I could have used a Conditional Formatting on the divider line (it's actually a Shape inside of a Panel, and I want to just hide the Panel).  I could have had an expression that said if =RowNumber() = =Count(RowNumber()) then set the panel invisible, but this doesn't work anymore because it was broken when some Scope features were added.

I've tried the ItemDataBinding event on the Detail section, but I can't see how I can get the current row number or the total number of rows in the data source.  All I need to know is if the current row is the last row, and then I could use this event to hide the divider line.

What's the correct way to go about this?

Stef
Telerik team
 answered on 27 Feb 2015
4 answers
163 views
I have an issue where I can't print from the report viewer in my Virtual Machine.  I can print from this machine with out issues using other programs.  This issue does not show up anywhere else either.  I have my application installed on various other pure windows machines and it prints fine never hangs up.

I don't get any debug info it just stalls with the "Printing page 1 of report" dialog.

Stef
Telerik team
 answered on 27 Feb 2015
2 answers
96 views
After reviewing all documentation I was not able to figure this one out. During local debugging I can view all export formats. When uploaded to Azure Cloud Instance, I loose some including DOCX & XLSX. I did verify all references set to Copy Local. All <Extensions><Render>set to visible=true.

Version=8.2.14.1204

Thank you.
Stef
Telerik team
 answered on 27 Feb 2015
5 answers
115 views
Visual Studio 2013 Ultimate Update 3
Telerik Reporting - Q3 2014 SP1 - 8.2.14.1204

1. Create a new Telerik Report Q3 2014 Wizard in UI project
2. select graph wizard
3. Clustered column
4. add new object data source. objectdatasource is a class method in the business project returning a list of an object like users. choose a datasource member (simple one that returns a list of Users)
5. click finish
6. you can see the telerik report automatically say "generating report..." as soon as finish is clicked. Visual Studio then crashes and stops working.

If I add a simple data using the exact same method there is no issue.
If I add using a SQLDataSource there is not issue so its an issue with the ObjectDataSource. For some reason it tries to render it right away as well.

I tried rebooting, adding a graph numerous ways but nothing works.

Stef
Telerik team
 answered on 26 Feb 2015
1 answer
94 views
I am currently using Version=7.1.13.612 of Telerik Reporting in 2 separate web applications.  Using IE 11 in one of the applications when I click the print icon on the report viewer I get a PDF print dialog as I expect.  In the other when I click the print icon on the report viewer a PDF is downloaded. 

I have seen several postings that the PDF download is due to a compatibility issue with IE11. 

Is there a way to force the print dialog to always appear?

Thank you
Bill
Top achievements
Rank 1
 answered on 25 Feb 2015
1 answer
204 views
Can you please give me a step by step to generate a simple pie chart using the following information.
Lets say I have 2 fields lets say Gender (Male and Female).I have the count totals for each item type so a data-source of

Gender    Totals
Male          5000
Female     2000

I want the pie to display the slices in percentage.What needs to be picked for the Series and Value and Categories to have it display correctly using the standalone designer?Do I need to reshape the data to get it to output correct??
Nasko
Telerik team
 answered on 25 Feb 2015
1 answer
851 views
Is there a way to specify the ValueMembers through an expression?

i.e. ValueMember = True, False

The issue is that I'm attempting to populate the default Report Parameters through a boolean data source field. However, the way the data source is configured, I'll only ever have True or False. So if I use Fields._____ (which is a boolean), the ValueMember will only ever be True or False.

I still need to be able to see both values in the drop down to control some report behavior.

Or would I have to write a custom method to return a List of possible boolean values? (True, False)
Nasko
Telerik team
 answered on 25 Feb 2015
1 answer
414 views
How can I adjust the textbox size depending on the text?
KS
Top achievements
Rank 1
 answered on 25 Feb 2015
1 answer
387 views
Hi,

I don' t know if this is the right place to post my problem. 
Anyway I am working with Spreadsheet process and I want to export some data to an excel worksheet, in particular I' d like to format a worksheet as table (in interop this should be ListObject), because in my excel formulas I need to use an excel table instead of excel range.

An example of result is shown in the attached picture. Is there a way to obtain this?

Thanks

Ciro
KS
Top achievements
Rank 1
 answered on 25 Feb 2015
5 answers
1.1K+ views
I'm using the Q3 2009 version.

I want to selectively hide the detail row in the report when the data source row contains a blank value.

I have tried using the ItemDataBinding event for the detail item, but I am unable to get access to the row in the data table that is being bound to the detail item.

When I look at the ItemtDataBinding event in the debugger I can see the field I need but its contained the ReportItemBase object.

In the debugger, I can see that the sender is an object {Telerik.Reporting.Processing.DetailSection}.

Which inherits from Telerik.Reporting.Processing.ReportSection {Telerik.Reporting.Processing.DetailSection}.

Which inherits from Telerik.Reporting.Processing.ReportSectionBase {Telerik.Reporting.Processing.DetailSection}

Which inherits from Telerik.Reporting.Processing.ReportItemBase {Telerik.Reporting.Processing.DetailSection}.

The ReportItemBase contains the Telerik.Reporting.Processing.IDataObject {Telerik.Reporting.Processing.Data.DataMember} which contains a RawData member which contains the row being bound to the detail item.

I can see that the RawData is a strongly typed row of the data table in my data set.

I thought once I get access to the data row I could check the field for a blank value and hide the detail item by setting the Visible property to false if the field contains a blank.

So, how do I get access to the RawData member of the ReportItemBase object in the ItemDataBinding event?

Thanks for any help on this.

Mark



      
Nasko
Telerik team
 answered on 23 Feb 2015
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?