Telerik Forums
Reporting Forum
1 answer
520 views
Hi Folks,
I have written a pixel precise (image overlay) report using Reporting Q1 2011 trial. So far so good. After reading the documentation, I decided to create a calculated field for a barcode control. I took an existing field and added some other characters to it. My report is very simple (structure wise) it has a Detail and a report Footer. The field that is using the calculated field is in the Detail section and it will render well in Preview mode (the field is assigned a value from a business object). BUT... when the application is rendered programmaticaly, it fails with "The expression contains object 'BarcodeValue' that is not defined in the current context."

I don`t understand why it works in preview and not when .RenderReport is called.

Thanks

-John
Steve
Telerik team
 answered on 01 Jul 2011
1 answer
57 views
I have a report book being displayed using a silverlight application. The reports generates fine, but when I try to expand my group using the action button nothing happens. if I preview the report under VS, it woks just fine.

I do have a the report viewer in a Radwindow. Does that make a difference ?

Hector
Steve
Telerik team
 answered on 01 Jul 2011
3 answers
200 views
I am trying to use a web service provided by a third party as a datasource in a Telerik Report.  Anyone have a clue how to do that?

So far I have tried attaching it to an objectDatasource and wrote the following code behind (where ODRC_DATA_SERVICE is the web service reference added to the project and getCurrentMedications("A473813") is the method in the Web Service that returns the data.)  BUt so far I've got nuthin'  Tyhe designed can't detect the data source and the report preview, bets the correct number of rows that the service returns, but does not display any data.

Thanks in advance,

Rick Riedel

private

 

 

void GetCuurMedRpt_NeedDataSource(object sender, EventArgs e)

 

{

 

 

//try

 

 

 

//{

 

 

 

ODRC_DATA_SERVICE ws = new ODRC_DATA_SERVICE();

 

Telerik.Reporting.Processing.

 

Report report = (Telerik.Reporting.Processing.Report)sender;

 

report.DataSource = ws.getCurrentMedications(

 

"A473813");

 

 

 

 

//}

 

 

 

//catch { }

 

 

 

//finally { }

 

}

 

 

private void GetCuurMedRpt_ItemDataBound(object sender, EventArgs e)

 

{

textBox1.Value =

 

"=Field.RXF_ORD_DATE";

 

textBox2.Value =

 

"=Field.DRG_NAME";

 

textBox3.Value =

 

"=Field.RXF_RX_NUMBER";

 

}

Steve
Telerik team
 answered on 01 Jul 2011
1 answer
117 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
125 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
91 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
425 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
58 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
197 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
41 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
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?