Telerik Forums
Reporting Forum
2 answers
151 views
There is nothing in the What's New page of the documentation and I don't see a breaking changes page. However, I have hundreds of errors because the DataItem property does not appear to exist anymore??? What happened to deprecating vs. just eliminating?
rh
Top achievements
Rank 1
 answered on 16 Mar 2010
0 answers
128 views
I was wondering if anybody found a way to display row column heading for a crosstab on only odd numbered pages?  My client is looking to place these reports into a binder and would like the column headers to only appear on left page.  Each report may span one or more pages.

I cannot access the page number global from the body of the report, and the only option for crosstabs and row header is "RowHeadersPrintOnEveryPage".

Any ideas?
Sandra Walters
Top achievements
Rank 1
 asked on 15 Mar 2010
1 answer
102 views
Hi,

I have existing Silverlight application and I need to add Report to it. User should be able to press the button and application starts modal dialog with requested report. Can ReportViewer be hosted inside of RadWindow? Could you please provide details on how to do it? 

Thanks,
Sergey
Sergey Arutchev
Top achievements
Rank 1
 answered on 15 Mar 2010
6 answers
152 views
This example does not work in the new version released today : http://www.telerik.com/help/reporting/buildingdatatbindlistcomplex.html

Unfortunately, I have a project going live in a week that has all the reports developed in this way which are now all broken.  The chart always shows up as 'no or empty series'

Can someone help?
Richard Hyde
Top achievements
Rank 1
 answered on 15 Mar 2010
3 answers
85 views
When we have parameters for a report, in IE 8 (normal and compatibility mode) the report viewer overflows at the bottom the equal amount of height taken up by the parameters at the top. The parameters do not even display in Firefox.

We are using Telerik Reporting version 2.8.8.723 (Q2 2008).

We have a very small working c# application that can show this behavior.

Massimiliano Bassili
Top achievements
Rank 1
 answered on 15 Mar 2010
1 answer
92 views
Hi there.

I was just doing some profiling on how long it takes to create a PDF report I have created. The resultant PDF file is about 8 pages and has a faily simple table in a group, so the table is repeated for each group.

It took about 10 seconds to generate the report, but about 40% of the total execution time was associated with 582 calls to Telerik.Reporting.Pdf.Rendering.PdfRenderer.DrawString(String, PdfFont, Brush, RectangleF, Boolean).

So, it appears that this method is associated with turning strings into pdf graphic elements. Are their things I can change in my report definition that limit how much this is called by eliminating fonts etc. Are certain fonts less expensive than others? Just curious why drawing characters takes 40% of the execution time.

Thoughts?

Note: I am using the Q1 2010 release.

Mike
Steve
Telerik team
 answered on 15 Mar 2010
1 answer
132 views
Hi,

I cannot install Telerik Reporting on my computer.

I tried Q3 2009 and Q1 2010 and always the same behavior. I run the setup and I have immediatly a generic error message (see attached file)

OS : Windows XP PRO English
.NET FRAMEWORK : 4 (tried also with 3.5, don't fix anything)
VISUAL STUDIO 2010 RC ULTIMATE is on the computer

Could you please help me on that problem ?

Regards.
guinux guinux
Top achievements
Rank 1
 answered on 15 Mar 2010
0 answers
156 views
Hello to all , I  am new at this coding...
My files explains everything . Just want to see the values at the right of the graph  like  AA  - BB... I couldn't change it according coming from db. Just writes there "genelpuani"

my code :

private void chart1_NeedDataSource(object sender, EventArgs e)  
    {  
        Telerik.Reporting.Processing.ReportItemBase itemBase = (Telerik.Reporting.Processing.ReportItemBase)sender;  
        int hastaID = int.Parse(itemBase.DataObject["HastaID"].ToString());  
        int formid = int.Parse(itemBase.DataObject["formid"].ToString());  
 
        Telerik.Reporting.Processing.Chart procChart = (Telerik.Reporting.Processing.Chart)sender;  
        string sql = @"SELECT        kat.KategoriName as kategoriismi, genelpuan.Puan as genelpuani
                                FROM  GenelPuanlama AS genelpuan INNER JOIN
                     Kategoriler AS kat ON genelpuan.KategoriID = kat.KategoriID WHERE (genelpuan.FormID='" + formid.ToString() + "') AND (genelpuan.HastaID ='" + hastaID.ToString() + "')";  
        string connectionString = "Data Source=.\\SQLEXPRESS;AttachDbFilename=|DataDirectory|\\Database.mdf;Integrated Security=True;User Instance=True";  
        SqlDataAdapter adapter = new SqlDataAdapter(sql, connectionString);  
        DataTable datatable = new DataTable();  
        adapter.Fill(datatable);  
        procChart.DataSource = datatable;  
        //chart1.IntelligentLabelsEnabled = true;  
        //chart1.PlotArea.XAxis.DataLabelsColumn = "kategoriismi";  
         
          
        //chart1.PlotArea.XAxis.Appearance.LabelAppearance.RotationAngle = 300;  
        chart1.PlotArea.XAxis.Appearance.TextAppearance.TextProperties.Color = System.Drawing.Color.DarkBlue;  
          
        chart1.PlotArea.Appearance.Dimensions.Margins.Bottom = Telerik.Reporting.Charting.Styles.Unit.Percentage(30);  

oli koli
Top achievements
Rank 1
 asked on 15 Mar 2010
3 answers
112 views
Hi,

I just upgraded to the Q1 release and have an issue with an InvalidCastException issue.  I've looked and couldn't find a breaking changes sheet for this ver so am suprised to get an error (this was working with old 2009 Q3 ver).

For the following code I get a message saying "Unable to cast object of type '<EnumRawData>d___0' to type 'System.Data.DataRow'".

Private Sub locationIDGroupHeader_ItemDataBound(ByVal sender As ObjectByVal e As System.EventArgs) Handles locationIDGroupHeader.ItemDataBound  
 
    Dim section As Telerik.Reporting.Processing.GroupSection = DirectCast(sender, Telerik.Reporting.Processing.GroupSection)  
    Dim row As System.Data.DataRow = DirectCast(section.DataObject.RawData, System.Data.DataRow) 

The error appears on the second line...

Any workarounds?

Regards,

Jon
Jon
Top achievements
Rank 1
 answered on 15 Mar 2010
1 answer
141 views
I want to bind the  series and series items to the dataset (created through Report Wizard). I used the code to bind the data to the datasource given in documentation but it's not helping. Is there any other way to bind the data through series properties or through code in event _NeedDataSoure? The connection, i made is through ODBC.
Steve
Telerik team
 answered on 15 Mar 2010
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?