Telerik Forums
Reporting Forum
1 answer
91 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
201 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
830 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
407 views
How can I adjust the textbox size depending on the text?
KS
Top achievements
Rank 1
 answered on 25 Feb 2015
1 answer
367 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.0K+ 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
8 answers
3.7K+ views
Good Evening,

I understand that the export options for reports using the ReportViewer use the rendering extensions to exporting to a document in order to get the document to be as close as the original report, but I was wondering if there is a way around this.  Our clients want to be able to export the report to an excel document in a row by row fashion, in basically the format that the stored procedure returns the data, and then add some formatting changes.

The comma delimited csv format doesn't quite give them what they want because it also exports textboxes that are being used as labels. 

Is there a way to capture the exporting event, and export it similar to the way radgrids are exported to excel?

Thank you,
Steve
Stef
Telerik team
 answered on 23 Feb 2015
10 answers
998 views
hi guys,

i have a master detail report that uses a certain table from a DataSet as DataSource,
i've set:
MasterReport.DataSource = DataSet1.Table1 and 
MasterReport.DataMember = "GetEnumerator".
until now, it works fine.

now, i have a subreport in the MasterReport and i want to set its' datasource,
because DataSet1 hold 2 tables, and Table1 is the DataSource of the MasterReport,
i want to take the same DataSet1 and get Table2 from it to put as DataSource of the subreport,
something like that:
((MasterReport.DataSource as DataSet1.Table1).DataSet.Tables["Table2"]

of course this doesn't work because MasterReport.DataSourc is ObjectDataSource type.
how can i do want i need in a better way?
i want the same instance of the Dataset to be the datasource of the two reports but the datamember will be two different tables.
i've attached a screenshot of the way my MasterReport is built.

second problem i have is that i catched in MasterReport this event subReport1_NeedDataSource
(definition of subReport1: "private SubReport subReport1;") and this event MasterReport_NeedDataSource,
i've put a breakpoint in them and it never triggers. any suggestions why that happens?

thanks in advance.
lior.
KS
Top achievements
Rank 1
 answered on 23 Feb 2015
3 answers
580 views
I have several reports within my application. I was having an issue with exporting to excel so we upgraded all the reports to Q2 2014.
All the reports work fine in the development environment however once deployed to production, the export to word function throws this error:
"Index was outside the bounds of the array"

All other export functions perform as expected.
I checked the deployed version of DocumentFormat.OpenXml.dll and it is the correct version (2.0.5022.0) as well as all of the Telerik modules.

This error occurs on all deployment installs and can be reproduced at will.

Has anyone else run into this?
Stef
Telerik team
 answered on 23 Feb 2015
1 answer
164 views
VS 2013 Update 3
Telerik  Reporting Q3 2014

1. How to set different colors  for the items text displaying along X-Axis. (rounded  red in
color in the below image)
2. How to set On Y-axis, customizing the starting values like (starting from 20% and ending up to 50%).
3. How to control the width and size of Data Points?



Hinata
Top achievements
Rank 1
 answered on 20 Feb 2015
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?