Telerik Forums
Reporting Forum
1 answer
124 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
163 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
101 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
89 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
56 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
197 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
449 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
1 answer
89 views
Hi,

I'm trying to create a report that represents a calendar with appointments listed for each day. I am following the example provided here: http://blogs.telerik.com/blogs/posts/11-05-03/creating_a_calendar_report_with_telerik_reporting.aspx

PROBLEM 1:
The problem is that when I preview the report at both design and runtime the report generates a calendar for each day in my date range. So for example if the date range is 1 June 2011 through 30 June 2011 I get 30 pages with the June calendar on each page. I can't for the life of me figure out why. Again, I followed the code example above and cannot determine the difference between the sample solution and mine.

PROBLEM 2:
This is not as important but the subreport in the body of the crosstab is positioned to the 0, 0 position of the crosstab itself, not the crosstab of the body. The problem exists in the sample above.

PROBLEM 3:
How can I allow the crosstab body to grow? If the contents of any one day in the calendar is greater than the available space I want the day bounding areas to expand.

Thanks,
Dave
Peter
Telerik team
 answered on 13 Jun 2011
1 answer
83 views
Is there a way for me to handle the "export to CSV" server side? I have a requirements that states that the export from a report delivers a row/col result that contains data not bound to the report. Far as I can tell, there is not an "OnExport" event available in the report viewer.
Steve
Telerik team
 answered on 13 Jun 2011
1 answer
492 views
Hi,

How can I change the visibility of a panel (or for that matter, any UI element) based on the value of a piece of data returned in the report's Select statement?

Can I access the report data in the 'code behind' of the report without going through user functions?

Can I execute code that accepts data fields at a higher level than the individual report field level e.g. to hide or show a panel based on a data value?

Apologies for the 3-in-1 question!

Regards,
Steve
Steve
Telerik team
 answered on 13 Jun 2011
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?