Telerik Forums
Reporting Forum
7 answers
1.6K+ 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
75 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
464 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
317 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
201 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
267 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
155 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
146 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
1 answer
326 views
I have been creating a report using Telerik Report in a ASP.NET MVC application and I have a question.

I would like to know, how can we create a ReportViewer for a dynamic report with ASP.NET MVC?

we do not have a TRDX file, we need to create it dynamic. It just a simple list of data, nothing special.

For sample, I have a action in my controller and it creates a Telerik.Reporting.Report object dynamiclly and add some items like TextBoxes, Labels pointing to fields and add a List<Product> as a dataSource of this report. The report is ok and we can export to PDF and see the result, but I would like to present it into a ReportViewer like HTML5 version. How can I do it? How can I make my action return a object to the View and render it in a Telerik Report Viewer and get the resources like exporting to other formats.

Thank you.
Stef
Telerik team
 answered on 21 Jul 2014
1 answer
130 views
Hey!
I build an report with 8 subreports (each need this own datasource). I need to visible each of the subreports only a precondition (different for each subreport)  become conform. So I set a binding visible = only when precondition is true. Thats work fine.

But:
When I render my report it is very slow, so about 3 min for 29 sites.

Is it possible that the subreports going to render anyhow although the visibilty is set to false. If true how can I reach that the subreports only render when my precondition  become true.
I think that is the solution to render the report faster.
Or you have any solution to get the rendering faster?

Horst
KS
Top achievements
Rank 1
 answered on 18 Jul 2014
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?