Telerik Forums
Reporting Forum
1 answer
192 views
My situation in Q2 and old reportViewer:

<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>
<%@ Import Namespace="System.Data" %>
 
<%@ Register Assembly="Telerik.ReportViewer.WebForms, Version=7.1.13.802, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" Namespace="Telerik.ReportViewer.WebForms" TagPrefix="telerik" %>
<%@ Register Assembly="Telerik.Reporting, Version=7.1.13.802, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" Namespace="Telerik.Reporting" TagPrefix="telerik" %>
<!DOCTYPE html>
<html>
<head id="Head1" runat="server">
    <title></title>
    <style type="text/css">  
    html#html, body#body, form#form1, div#content
    {
        height: 100%;
    }
    </style>
</head>
<body>
    <script runat="server">
        public override void VerifyRenderingInServerForm(Control control)
        {
            // to avoid the server form (<form runat="server"> requirement
        }
         
        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);
            //IMPORTANT PART: setting source to instance of report passed from controller
            ReportViewer1.ReportSource = Model.Report;
        }
 
    </script>
    <form id="main" method="post" action="">
        <telerik:ReportViewer ID="ReportViewer1" Width="100%" Height="600px" runat="server">
        </telerik:ReportViewer>
    </form>
</body>
</html>

Here I can create an instance of report on server and pass it to this view to render it on client.

While I'm waiting for documentation to come out, please help me how to do this in new html5 report viewer, and what is the best/recomended practice to render reports now?

Peter
Telerik team
 answered on 21 Oct 2013
3 answers
202 views

We have created a report and are using the “Export” feature provided by the Report viewer.  All of the options are working satisfactorily except for the CSV option.  The CSV option is working as documented, but we really want to apply the “NoHeader” and “NoStaticText” options that have been documented.   The problem is that these go into the application config file.  Our report generator is part of an MMC snapin.   We do not have a configuration file to add these customizations to. All the documentation I have seen so far points to ReportProcessor.RenderReport() to programmatically modify the export behavior.  The examples around using this are not very helpful.  I do not see how to tie this into the “Export” button on the Report viewer.  I have found no events that are generated when a user chooses an export option.  I also want to use the provided UI for gathering the destination, and also use the provided “write to file” functionality.   The examples of RenderReport all seem to use a default location and provide their own write code.   

 

Is there a way to programmatically set the “NoHeader” and “NoStaticText” parameters for the CSV option without using RenderReport?   If the answer is no, can you point me to some documentation/examples of how to use RenderReport when a user selects an export option from the Export button?

 

Thanks.

Dave

Peter
Telerik team
 answered on 21 Oct 2013
2 answers
683 views
Hi,
I have a line chart which shows tempriture of a room daily. The tempriture values come from a datasource.
The X axis shows days and Y axis shows the tempriture values.

Think of that i have temriture values from dataset as below:
18.22 ,18.83 , 19.30 , 20.05 , 19.15 ,  19.25
While using the line chart by default settings, the Y axis starts from 0 and ends with some value over 21. And the steps are generated automatically. 
As seen here the min value is 18,22 and max value is 20.05 
I would like to see the line chart as below
Y axis starting from 18 and ending at 21 and steps are 0.1 
Coul you please describe how to achieve that.

I have attached a sample chart which is generated with a different tool. The chart in the screenshot describes perfectly what i want.

Thanks.
Gaurav
Top achievements
Rank 1
 answered on 20 Oct 2013
1 answer
182 views
Hello , 
haw i can  export report to be printed in Headed paper A4  ( paper with preprinted head and footer )  ? i now that i can do it by setting margins but i am searshing it in Paperkind setting .

Thank youi . 
Peter
Telerik team
 answered on 18 Oct 2013
2 answers
453 views
Hello there,
We have just downloaded recently a trial version of Telerik Reporting, its Q3 version released.
And before buying the product, our project manager asked us to make some test, essentially some "performance" tests...
Actually, I produced a report with 500 lines from database. Those lines will be grouped by two columns, and of course : the rendered table contains some agregate value (Sum).
Curiously, the RenderReport() took about 1 minute to render these 500 lines, no matter what the output format is (pdf, mhtml, xls, ...) :-(
Notice that I have put many debug breakpoints to check exactly where the performance lack resides, and thus; found that it occured when I call the RenderReport() method. In other words, the problem is not related to database access.

I tryied to remove the agregate cells, but it didn't change nothing. By the same way, I removed the grouping column, and of course, the report took about 40 seconds to be rendered, but I think it's not normal at all, cause we treated actually 500 lines, and in the future; we surely will need to produce more than 1000 lines inside one report.

Is there any known issue to avoid this performance trouble ? I just want to add eventually that the old report engine that we used was oracle-report, and we plan to go with some other third party technologies like Telerik. But with oracle-report, the same report was rendered after about 10 seconds, on the same machine, accessing the same database, with the same code architecture (asp.net mvc)

Thanks in advance
Peter
Telerik team
 answered on 18 Oct 2013
1 answer
119 views
car dashboard show kpi,
Elian
Telerik team
 answered on 18 Oct 2013
3 answers
384 views
Can someone point me to a sample report that uses two Y axis?

I am trying to follow the instructions in the documentation
http://www.telerik.com/help/reporting/graphhowtoaddsecondaryaxis.html
but I keep getting an "object cannot be null" error from the CoordinateSystems dialog at step 2

Thank you for your help.

Elian
Telerik team
 answered on 18 Oct 2013
5 answers
70 views
Hi,

Does the Telerik Reporting Q3 2012 support Drill Down charts?

Thanks...
Peter
Telerik team
 answered on 17 Oct 2013
1 answer
381 views
Hi all-
I am using the following line in a standard text box.
=Fields.[Attorney for Child]+', child's attorney' and I need to escape the apostrophe in child's.
The only thing I could find says to place brackets around the character but that also generates an error.
Any help is appreciated.
Andy
Squall
Top achievements
Rank 1
 answered on 17 Oct 2013
1 answer
129 views
Hi all,

       I have a report with multiple pages, whereas last page contains a letter. all the other pages except last page should have a page border around detail section. when I add the page border it applies to all pages in the report. I tried setting binding expression as well as expression to set the page border color to transparent conditionally by comparing pageNumer = pageCount etc..

this doesnt work at all. would appreciate if u all could help me on this. 
KS
Top achievements
Rank 1
 answered on 17 Oct 2013
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?