Telerik Forums
Reporting Forum
3 answers
819 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
223 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
379 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
130 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
169 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
106 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
94 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
57 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
1 answer
203 views
I have looked through the forums and demos but have not seen a demonstration of this.

I created a a class library and report (w/ parameter). I then added a reference to the project in a ASP website and added a viewer and my report to a control on a page. The report works great when I select the parameter from my list of values.

What I would like to do, and haven't seen an example of, is navgate to the page my report is on and pass the parameter in the url.

An example of the url would be;
http://localhost:50536/Pages/Voucher.aspx?TrackID = 1000

1.) Can you provide me with a rundown on how this is accomplished?
2.) What changes would I need to make to my class library/report to change from manually setting the parameter?

The website is ASP with VB.net code behind.
TelerikReporting Q1, 2011

Thanks for the help,
IvanDT
Telerik team
 answered on 13 Jun 2011
3 answers
457 views
hi!

i would like to know if i can prevent the designer to expand the width of the report when i move a control. If for example and i want to move a textbox to the right and that the control cross the end of the report width, the report will auto-extand and i need to change the report width to the good value again.

so is it possible to lock values in the designer?

alex

bash
Top achievements
Rank 1
 answered on 13 Jun 2011
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?