Telerik Forums
Reporting Forum
3 answers
94 views
How can i render new report, on a click command. Like a refresh button.

Which function in the Silverlight ReportViewer can be used to request new report, I was not able to find any render Function.
Steve
Telerik team
 answered on 15 Jun 2011
7 answers
587 views
Hi,

I'm evaluating your reporting library with some test samples. One of these is a report with serveral charts and tables (in the pageFooter section there is a textbox with the PageNumber object). When I preview in reportviewer, the report is shown without paging, and the page number value is always 1 (even if the rendered report size has two or more pages). When exporting to pdf the number of pages is correct (and also the page number field in the footer section).

Is it possible to hide the PageNumber field when previewing with Reportviewer (and show it when export to pdf or print)? I've seen your Invoice Report sample works in this way, but I don't know how to get that.

How can I display the correct pages and its numbers when previewing in Reportviewer (like the Preview tab in design mode in VS)? Is it possible?

Regards,
John.
Steve
Telerik team
 answered on 15 Jun 2011
3 answers
836 views
Hi,

I am trying to integrate the WPF Report Viewer into a WPF application.

I would like to:

1.  Generate a "DataTable" object in code at runtime, with a varying amount of rows and columns.

2.  View this datatable in a Telerik Report.

I've been having some difficulty and am beginning to question if this is possible.

Is it?

Thank you,
Justin
IvanDT
Telerik team
 answered on 14 Jun 2011
1 answer
255 views
Hi,
 I am wondering is there a way in telerik reporting, to have data repeater functionality, i.e a section which contains some controls like TextBoxes and repeats itself for a collection of datarows.
Appreciate any help, Thanks in advance,
sid
IvanDT
Telerik team
 answered on 14 Jun 2011
1 answer
396 views
Hi,

I have a problem, I am using Telerik Report Q2 2011 with visual studio 2010 silverlight 4 MVVM (C#). I have managed to pass parameters to the report from my silverlight application and its working okay. Thing is one of my reports contains a subreport, the subreport gets its data from a table thats is more of a reference table - main report gets patient data and the sub report gets a patients chronic conditions if (s)he has any. What I want to achieve is;

1) User passes a parameter to the main report using the silverlight report view from the silverlight app. This is working okay.
2) Pass the patient number to the subreport but check to ensure first that the patient has chronic conditions, and populate chronic conditions sub report only if the patient has records in the patient chronic conditions table  otherwise dont pass any parameter to the subreport since I keep getting error if the patient has no chronic condition. This is where I need help. Please help. Any help will be highly appreciated.

Thanks

Francis.
Steve
Telerik team
 answered on 14 Jun 2011
1 answer
138 views
Our program generates a massive amount of Cash Flows which are basically arrays of Double values which represent a table with
a fixed amount of rows, but a variable amount of columns. I've tried Cross-Tabs and Tables, but I can't seem to setup either one in a satisfactory way.

example:
                    12  13 14 15 16 17 18 19 20 21 
Some label   1   2   3   4   5   6   7   8   9   0  
Some label   2   3   4   3   5   7   8   9   0   9

Some label represents the Row data label and the 12,13,14... represents the variable amount of columns. As I mentioned, the label are fixed and never change, while the amount of columns is different among the CashFlows.

Any ideas what would be the best way to set that up?

Steve
Telerik team
 answered on 14 Jun 2011
14 answers
202 views
When trying to create an Entity connection with the following string, I get a failure with a fairly useless popup (picture attached).
Any thoughts?

metadata=res://*/Models.RoasterWerksModel.csdl|res://*/Models.RoasterWerksModel.ssdl|res://*/Models.RoasterWerksModel.msl;provider=System.Data.SqlClient;provider connection string="Data Source=OFFICE\SQLEXPRESS;Initial Catalog=RoasterWerks;Integrated"Security=True;MultipleActiveResultSets=True;
Mark
Top achievements
Rank 1
 answered on 14 Jun 2011
1 answer
123 views
Hi, I have created a self hosted WCF Report service.  I have a number of DLLs containing my report definitions.  How do I get the WCF service to register the Reports avaiable so that i may obtain a list of the reports via the "ListAvailableReports" operation ?.

At this stage i have placed the DLLS in the same folder as the WCF service but they are not processed in any way nor available by means of the list operation or display in a Silverlight viewer.

Thanks
Andre 
Jeremi
Top achievements
Rank 1
 answered on 14 Jun 2011
1 answer
109 views
Our current reports look something like:

public partial class AlertProgressReport : Report
{
    private readonly AlertProgressReportModel _model;
    public AlertProgressReport()
    {
        InitializeComponent();
    }
    public AlertProgressReport(AlertProgressReportModel model) : this()
    {
        _model = model;
        table1.DataSource = _model.Rows;
    }
    private void textBoxTitle_ItemDataBinding(object sender, EventArgs e)
    {
        textBoxTitle.Value = _model.DateColumnNames["AlertName"] as string;
    }


The empty constructor is so that the report works in design mode.

We have only used telerik for its design surface to create awesome reports in  PDF.

Our app is in ASP.NET MVC so in our controller action we create the viewmodel that we send to the report using the overloaded constructor and then send the "Report" object to our custom action result which forces the user's browser to download the generated pdf.

System has worked well, however, now we need this in Silverlight also.

Do you have a sample on how I can implement my own ReportService this way I can use ServiceHostFactory to inject our dependencies and do exactly like we do in ASP.NET MVC?

We understand this approach might require we create an Svc per report. 




 

 

 

 

leblanc
Top achievements
Rank 1
 answered on 13 Jun 2011
1 answer
67 views
Hi,
I am trying develop some reports in silverlight 4 application with Telerik Reporting Q3 2010 version. My problem is i don't know how to do it with WCF netTcpBinding binding.
I am in confusion with the service configuration value for ReportService in WCF service config file.

Please help me ASAP by providing any guideline or with source if anyone have any sample workaround with Silverlight 4 application + Telerik Reporting + WCF netTcpBinding.
Peter
Telerik team
 answered on 13 Jun 2011
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?