Telerik Forums
Reporting Forum
6 answers
149 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
84 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
89 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
123 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
149 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
107 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
136 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
1 answer
199 views
Hi,

I have created a master report with many subreports. When I preview the individual reports, they fit on a single page(A4 Potrait/Landscape). However, when I preview the master report(with all the subreports), I see the individual reports overflow to second page(the rows, not the columns). I do have the "Keep Together" property set to "True". What am I missing here? Just to check, when I set that property to False, I see an additional empty page being added in between the first two pages. How can I stop this overflow?

Thanks for any help.
Steve
Telerik team
 answered on 15 Mar 2010
1 answer
93 views
Hi,
I use telerik reporting to build a report,
but when it run in perview it don't show last character in integer but in html perview is correct .
also in perview when i generate a pdf report is correct but don't show last character in perview.

-->> in Persian Calture (in English is fine) <<--
Steve
Telerik team
 answered on 15 Mar 2010
0 answers
81 views
Is it possbile to use single stored procedure returning multiple result sets in single telerik report?

First result set will be company name and address that goes into report header section, second result set will be for detailed rows of the report.

I appreciate code reference to any real time examples.
mohammed
Top achievements
Rank 1
 asked on 15 Mar 2010
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?