Telerik Forums
Reporting Forum
1 answer
371 views

Hello,
I have a table in a report where the text of the header of one column must contain an expression. The problem is that the DataSource of the table is set to the table data. So how can I accomplish this?

Detailed information:
1. The table contains a ranking.
2. The table contains one column with amounts (earnings for the team).
3. The currency of the amounts is set at a higher level (tournament). It depends on the place where the tournament is played.
4. I would like the header to display Prize (EUR) or Prize (USD)
Currently this is done by code, but I would like to know if it's possible to do it with an expression.

Patrick

Nasko
Telerik team
 answered on 24 Jul 2014
5 answers
742 views
I support a system that uses a VB.NET Reporting client that attaches to an Oracle 11g database running on a Linux server.  We would like to use the standalone Report Designer as a supplement to our canned reports so that 'Power Users' can query the database to get the data they are after.

All of the support documentation on connection strings refers to SQL server running locally.  None of the documentation mentions Oracle.  I am wondering if the standalone Report Designer can attach to an Oracle database on a Linux server if given the correct connection details.

If so, could you please provide a sample connection string for connecting to Oracle databases.

Thanks in advance.
KS
Top achievements
Rank 1
 answered on 24 Jul 2014
7 answers
1.7K+ views
I'm not need 1in each by default! How change default margins to other size?
Lyca
Top achievements
Rank 1
 answered on 24 Jul 2014
3 answers
76 views
So my client uses a citrix VDI to run a silverlight application and it calls a telerik silverlight report viewer.
They say their 20GB write cache disk runs out of memory very quickly and I think that the report viewer is writing to it.  I don't see the memory of the app go up when I load a large report, so I guess it's sticking it there.

And this is just a guess.

For Silverlight how would I change the cache type, I see in the docs, you mention changing the config in a web.config file, but for silverlight would you set the CacheMode property?  Or can you?
Stef
Telerik team
 answered on 24 Jul 2014
2 answers
470 views
Hi, can some-one please help me with the following issue re passing parameters.

I have created a new trivial report and setup two report parameters

1) StartDate (Type DateTime)
2) EndDate (Type DateTime)

What I would like to be able to do is set the report parameters from inside the codebehind of the webpage which will display the report.

e.g.

The report object is in a seperate class library called ProductOrders

 public partial class ProductOrders : Telerik.Reporting.Report
    {
            
        public ProductOrders()
        {                   
             try
            {
                this.dsAllOrdersTableAdapter1.Fill(this.dsAllOrders.dsAllOrdersTable);
            }
            catch (System.Exception ex)
            {
                // An error has occurred while filling the data set. Please check the exception for more information.
                System.Diagnostics.Debug.WriteLine(ex.Message);
            }
        }

}       


In another .NET website project I have a report viewer called ReportViewer1 and I have the following code

protected void Page_Load(object sender, EventArgs e)
{                
    // New instance of the ProductOrders report
       ProductOrders _report = new ProductOrders();

    
    // Set the report parameters here
       _report.ReportParameters["StartDate"].Value = Convert.ToDateTime("01-jun-2009");
       _report.ReportParameters["EndDate"].Value = Convert.ToDateTime("30-jun-2009");
                   
    // associate the report with report viewer
       ReportViewer1.Report = _report;
}

The problem that I am having is that the report paramaters are *always null* when I set them from the website page.
If I place them inside the constructor of the ProductOrders they work fine.
I do not want to pass through this information in the QueryString but would prefer to pass them through programatically. Again the above is a trivial example :)

Thanks in advance
Mark
Peter
Top achievements
Rank 1
 answered on 24 Jul 2014
1 answer
332 views
Hello,

is it possible to use the same report header, report footer & the data source for all my reports?

Thank you,
Manuel
Stef
Telerik team
 answered on 23 Jul 2014
1 answer
216 views
I'm trying to group my items together for a report. It's working to an extent. However, what I'm getting and what I'm expecting are different. I'm posting pictures of each instance. I'm new to the reporting, so I'm just 100 kinds of confused. any help is greatly appreciated. Thank you.
Stef
Telerik team
 answered on 22 Jul 2014
1 answer
276 views
I am playing with the Telerik Reporting and have made a simple report using the table wizard. The report contains about 900 rows. However, after successfully setting up an MVC web app and including the report in it, the report is rendered in a single page with all 900 rows which caused the browser to freeze for a few seconds till all rows were rendered.

I have been reading every where and I still can't figure out how to have pagination enabled when the report is being viewed in a web app.

Any help is appreciated.
Stef
Telerik team
 answered on 22 Jul 2014
1 answer
163 views
Hello!

I use a Telerik.Reporting.Report to rander a report. I have multiple objectdatasourcs on this Report for different tables from report.
I serialized this class using ReportXmlSerializer( I have different reports with different design).
How can I acces objectdatasources from report object that I get after deserialize the report serialized before without converting report object to my initial report?



 





Nasko
Telerik team
 answered on 21 Jul 2014
2 answers
155 views
I'm using the MVC report in a new MVC project and until now, everything worked as expected. When I tried to pass the code to the target project, the html report interface stopped to work. The problem is in its request to api client, that I realize it request about 5~7 per report.

In the first request it uses this url: http://localhost:2000/Basic/api/ReportBase/clients.

It works, but the second ones doesn't(404 error). It uses this url: http://localhost:2000/Basic/api/ReportBase/clients/100526-0a0c/parameters

I have not added any routes in order to the first request to work. I'm using just the MVC default route. In my test project, it works with the default route, as well. 
I want to know why the subsequent requests doens't works. I wonder if its a route problem or anything else.

Thank you.
Manuel
Top achievements
Rank 1
 answered on 21 Jul 2014
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
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?