Telerik Forums
Reporting Forum
0 answers
146 views
Hello,

will inheritance work / full supported in the new Report Designer?

Thank you,
Manuel
Manuel
Top achievements
Rank 1
 asked on 06 Mar 2012
3 answers
101 views
Hello,

I´m designing various letters in different reports and each must contain the same Header (e.g. a merchant logo or address).
Since it´s not possible to put a subreport in the "PageHeaderSection" i´m wondering how to solve this.


Edit: I´ve read the other posts about inheriting from a BaseReport. But the samples don´t work since they´re from an older version. Can someone provide a new sample please.
Steve
Telerik team
 answered on 06 Mar 2012
2 answers
244 views
Hello,

I want to set page header height by binding on my report.
I tryed to use a help function as below:

 

 

        Public Shared Function GetHeaderPageHeight(pageNumber As Integer) As Telerik.Reporting.Drawing.Unit
            If pageNumber = 1 Then
                Return New Unit(10, Telerik.Reporting.Drawing.UnitType.Cm)
            Else
                Return New Unit(20, Telerik.Reporting.Drawing.UnitType.Cm)
            End If
        End Function

 
On binding dialog I set the property Height as my help function, but isn't work.
Please, tell me what I do wrong.

Thanks a lot, excuse my bad english.



Elian
Telerik team
 answered on 06 Mar 2012
0 answers
150 views
Hai !

   I am creating new Report dynamically in ClassLibrary.I have Serialized the Report in XML format .I have no Idea  for how to display the report after deserialization in reportVIewer?


Serialization code:
 
 private void button1_Click(object sender, EventArgs e)
        {
            ForSerialization report = new ForSerialization();
            using (System.Xml.XmlWriter xmlWriter = System.Xml.XmlWriter.Create("c:/tmp/SerializedReport.xml"))
            {
                System.Xml.Serialization.XmlSerializer xmlSerializer = new System.Xml.Serialization.XmlSerializer(typeof(Telerik.Reporting.Report));
 
                xmlSerializer.Serialize(xmlWriter, report);
            }
        }
 
 
 
 
 
 
 
deserialization:
 
  private void button2_Click(object sender, EventArgs e)
        {
 
            using (System.Xml.XmlReader xmlReader = System.Xml.XmlReader.Create("c:/tmp/SerializedReport.xml"))
            {
                System.Xml.Serialization.XmlSerializer xmlSerializer = new System.Xml.Serialization.XmlSerializer(typeof(Telerik.Reporting.Report));
 
                Telerik.Reporting.Report report = (Telerik.Reporting.Report)xmlSerializer.Deserialize(xmlReader);
                 
              
            }
gowthami
Top achievements
Rank 1
 asked on 06 Mar 2012
3 answers
94 views
One of our users is reporting that when they select the export option (pdf, excel etc) the link for "Export" does not enable.  No one else has this problem.  Has anyone seen this, and do you have any idea how to resolve it?  Paging works fine for example.
Steve
Telerik team
 answered on 06 Mar 2012
1 answer
57 views
I have a nested List(three layers in total) where the detail list or the deepest layer just display all the rows in one page. How can I control the row size in each Page?

Please help

Thanks
Steve
Telerik team
 answered on 06 Mar 2012
1 answer
131 views
I am attempting to embed the telerik report viewer into an existing web application and am having problems with the report viewer not displaying correctly (see attachment toolbar.jpg).
I have done plenty of searching around the various forums and have come to the conclusion that the reason for the toolbar not being displayed correctly is because the page's HEAD tag does not contain runat="server".
Unfortunately, our web project requires that runat="server" cannot be set in the head (as other aspects of the application will fail). IS there a way to get the report viewer working in this way?
I have attached the HTML code for a test app which simulates this behaviour.
<head>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <telerik:ReportViewer ID="rptViewer" runat="server" SkinsPath="skins" Skin="orange">
        </telerik:ReportViewer>
    </div>
    </form>
</body>
</html>


Many thanks in advance

MIke
 
Chris Gillies
Top achievements
Rank 1
 answered on 06 Mar 2012
6 answers
327 views
Hello,

I try to programmically set  the default file name of my PDF report export but it doesn't work well. I read, on this forum, I have to set the DocumentName of the Report. But it doesn't work. When the dialog box appeared after selecting "Acrobat (PDF) File" in the toolbox of the report viewer, the file name is empty.
I try to set the default file name in the designer, in the constructor, in the OnRenderBegin method, but the file name is still empty.

Is it a bug or I missed something ? I am using the ReportViewer in Silverlight 5 ( version : Telerik_Reporting_Q1_2012_v6_0_12_215) and I use a ReportService.svc file to generate the report.

Thank you for your help.

Gilles
Gilles
Top achievements
Rank 1
 answered on 05 Mar 2012
1 answer
323 views
Dear,

I have made a cross tab report which has drill down both in columns and rows. Now the problem is that when I export this report to pdf; some unnecessary blank pages are inserted in pdf. Also sometimes the column widths become extra long; longer than the design time column length. This behaviour is different with different no. of columns as i drill down on column wise. Sometimes there are blank pages and sometimes there are not. Please help me how to resolve this. I shall be greatful for your quick response.

Regards,
Tehseen
Steve
Telerik team
 answered on 05 Mar 2012
1 answer
137 views
Hi,

I've succesfully got a crosstab working where each row contains the date and number of log-on's for that date which is taken for a dataset containing a single table, e.g.
Date, LogOns
01/01/2012, 500
02/01/2012, 541
03,01,2012, 234



I'm now trying to expand this so that I now have an addition dataset which contains number of tables where each table contains a breakdown for each day
//Breakdown table for 01/01/2012
Time, Count
1am, 30
2am, 50
and so forth

//Breakdown table for 02/01/2012
Time, Count
1am, 90
2am, 10
and so forth

// same for Breakdown table for 03/01/2012

The problem I'm having is that all of my bar charts only use the first table in my new datasource rather than the chart in row 1 using the first table, chart in row 2 using the 2nd table and so forth.  Is there a way to automatically specify that each new row uses the next table in the datasource?  Or am i going to have to create the crosstab and all of its comments manually in code by iterting through each table and adding new rows each time?

many thanks,
Elian
Telerik team
 answered on 05 Mar 2012
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?