Telerik Forums
Reporting Forum
1 answer
140 views
Hi

We are developing a SL application using MVVM and WCF RIA Services and Entity Framework. We want to display reports using Telerik Report Viewer. The navigation follows as:

User selects the report criteria in xaml page(i.e client end) 
On click of Generate Report button, it will navigate to the page containing ReportViewer control.
The Report Viewer is containing the report uri and Report Name.
We have the logic for getting the data in a domain service in the same application.
And we have the method signature like below

public ICollection<UpdateFrequencySummaryReport> GetUpdateFrequencySummaryReport(DateTime? startDate, DateTime? endDate, bool isFixedView, string[] viewIds, int[] facilityIds, int[] regionIds, string[] viewServiceIds, string[] viewServiceStatusIds, string[] viewServiceStatusReasonIds);

It is taking so many parameters including (nullable types and arrays of ints and strings). Please let me know or provide me an example that how should i send the data through ReportParameters? Is there any other way other than report parameter? 

Thanks in advance
Ravindra
Steve
Telerik team
 answered on 30 Jun 2011
1 answer
137 views
Hi

Please let me know if it is possible to assign data to SubReport's DataSource which is lieing on a Mater Report in the detail section. Please provide me the solution as it has come as a very urgent requirement and as only one day left for dead line.

Am very much grateful to you in advance.
Ravindra
Steve
Telerik team
 answered on 30 Jun 2011
1 answer
118 views
Hello,

I have report with a chart object. The chart has to be styled dynamically. Is there a way to export and import stylesheets for a chart?I have tried the more general report stylesheet, but that one does not let me add rules for parts that are specific to a chart, such as the theme or the scale of the axis.

Thank you
Steve
Telerik team
 answered on 30 Jun 2011
1 answer
470 views
I've tried to search this down, but to date haven't found the answer and "trying" hasn't been succesful ..

With grouping by field, normally it looks logically like:

Field.One            (Logical level 1)
    Field.Two        (Logical level 2)
        Field.Three    (Logical level 3)

where the grouping creates a bit of a cascading hierachy which I understand.  Is it possible to concatenate or join fields for grouping at the report level? So for example I can do

Field.One + Field.Two    (Logical level 1)
    Field.Three                (Logical level 2)

... I receive odd results when trying this via an Expression.  Also null values supress data.

Thanks much.
Mark
Steve
Telerik team
 answered on 30 Jun 2011
3 answers
78 views
Hey Everyone!

I'm looking for the possibility to split a PageHeader or a GroupHeader in two or more sections like it's possible in CrystalReports.

GroupHeader1a
GroupHeader1b
GroupHeader1c
GroupHeader2
Details
GroupFooter2
GroupFooter1c
GroupFooter1b
GroupFooter1a

All three Group1 sections group/change on the same field, but the content can be independent from each other, even their visibility.

Is this possible?

Regards,
Michael
IvanDT
Telerik team
 answered on 29 Jun 2011
3 answers
248 views
Hi,

I have a report and it's sub report in my application. There are two parameters in sub report. I am passing values from my main report to the sub report using these parameters.

The report working fine if I use in-proc as session state, but when I use mode="StateServer" it gives me below error.

"Unable to serialize the session state. In 'StateServer' and 'SQLServer' mode, ASP.NET will serialize the session state objects, and as a result non-serializable objects or MarshalByRef objects are not permitted. The same restriction applies if similar serialization is done by the custom session state store in 'Custom' mode."

Do I need to do any thing extra in telerik report if I use out-proc as session state?

Please help me ASAP.

Thanks,
Vatsal Desai
Hrisi
Telerik team
 answered on 29 Jun 2011
1 answer
89 views
I have a -multi-column report that displays images. When it exceeds about 700 images, I'm getting memory error.
Any idea on how to resolve this?

Here is the code that I use.

Telerik.Reporting.Processing.

 

ReportProcessor reportProcessor = new Telerik.Reporting.Processing.ReportProcessor();

 

Telerik.Reporting.Processing.

 

RenderingResult result = reportProcessor.RenderReport("PDF", reportToExport, null);

Thanks.

 

Steve
Telerik team
 answered on 29 Jun 2011
1 answer
147 views
Hi,

I am using Telerik Silverlight ReportViewer. In report i have used image when i run form code , I am able to see image in report but when i publish site and sue site url  then Report is appearing with all data and everything but image is not getting displayed. Any help is highly appreciated.

Thanks ,
Shweta
Steve
Telerik team
 answered on 29 Jun 2011
2 answers
155 views
Hi all,

I was wondering if anyone has witnessed similar behaviour. We have several reports created in Telerik Reporting. After IIS restart (or longer period of inactivity), when we display one specific error, w3wp.exe error is generated (details attached) and no report is shown. If we display another report first, and then return to the problematic report all is displayed fine. Is there any explanation? Could this be related to the complexity of the report?

Any help would be greatly appreciated!

Regards,
Ales
Ales Klenka
Top achievements
Rank 1
 answered on 29 Jun 2011
6 answers
149 views
HI,

The question:
i would like have a list of "items" (Combobox or other object)  always visible and on selecting one or more item from the list i would like to see a report of data .What matter is that the second report be displayed just after selecting one or more items from the combobox ( or other object).
This is a scenario very close to a Drilldown one or a Master/details one, but in my scenario there is no Database relathionship between items and the report i want to be displayed. Lets say that the items are the names of  some tables on DB. The user  selects one or more of this table from combo (or other object) and a the report with data from this table is shown. This report has own parameters and one or more crostables to analyze the data.
If it is possible to keep on the same report (Area) the combobox and the the related data-report it will be  perfect. But also having the list and  the report in two separated area could be fine. The matter is that the list be always visible.

The History:
Working  with a crossTable: no problem to bind it to a datasourceObject from my DataLayer.So i have my data grouped and crossed as expected.
Next i added some parameter at design time (report.reportParameters object), here the problem. Using parameter (multivalues) the crossTable is rendered consequently(record are filtered) but not total and grand Total. The total fields show always the total calculated  at the time i  have bounded the datasource. 
In other words once you change parameter, the crosstab is re-rendered but not re-calculated.

To solve this i tougth to re-bind the datasource every time the parameters are modified. That is:

1- getting my data record list  from my DataLayer lets call it listDL
2- passing listDL to a businees object list (lest call it listBO) to work with data in memory
3- populate the parameters collections assigning listBO as datasource
4- executing LINQ queries on listBO using the parameters values.
5- rebind crossaTable datasource to listBO.

The report i am working on is an aggregate report, it shows several tables, them are different views on the same datasource.
That is: different LINQ queries on listBO . This is why i use ListBO: i don't  want call several time my DataLayer and i prefer to use ObjectDataSource then SqlDatasource planning to use this code with our MVVM model.

This was the idea and i started this way:
the first 3 steps are executed in the report constructor
the last 2 steps are executed in NeedDataSource routine
All seems working fine but :
at step 1 i have to pass a parameter (table name) at the method calling my DataLayer to retrieve the set of Data i needs.
let say this parameter is the name of a table Database.
The user have to be make able to choose table's name  from a list . The list of tables is retrieved by a call to  DataLayer .
The question is: where and how i can do this?
I can't add another parameter (for table name) ad design time because i can catch its value just in NeedDataSource routine, but the this value have to be cathced at step 1  (in the constructor ).
The only way i see is to pass the parameter to the constructor, but how can i do this?
The closest thing i could think is something like a subReport, but to manage a subReport with own Parameters UI seems too complex to me.
A easier solution could be to create a report for choosing the tables and then navigate at the crosstable report passing the choosen parameter.But i whould like to select the tables without navigate trought the windows.( User should select table very frequently)

I have no idea about to accomplish this


Thanks for reading



Steve
Telerik team
 answered on 28 Jun 2011
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?