Telerik Forums
Reporting Forum
1 answer
108 views
Hi

We have a application which is using radgrid dll 3.0.0 version . when we are trying the export the excel report from the web its working in MS office 2003, It is not working in MS Office 2010. Please give me te solution for this...Otherwise I have to change to some other method. My client is giving pressure...Please give the anaswer ASAP.

Regards
Pradeep 
Steve
Telerik team
 answered on 05 Nov 2010
1 answer
192 views
Hello,

I try to add a Telerik Report Q2 2010 in my Silverlight project and I got this error :

The assembly reference "Telerick.Reporting, Version=4.1.10.921, Culture= neutral..." could not be added to the project...

Any idea? 
Steve
Telerik team
 answered on 05 Nov 2010
4 answers
258 views
Hi, telerik team.
I can't solve the problem. Now we report export to excel file. But we can't many report export to one excel file's separated sheets. Help me?
Tsend Boris
Top achievements
Rank 1
 answered on 05 Nov 2010
3 answers
255 views
i want to set the height of chart dynamically depending upon the size of rows. here is the code
  void chart1_NeedDataSource(object sender, System.EventArgs e)
    {
        Telerik.Reporting.Processing.Chart chart =
            (Telerik.Reporting.Processing.Chart)sender;
        Telerik.Reporting.Chart chartDefinition = (Telerik.Reporting.Chart)chart.ItemDefinition;
        chartDefinition.Height = new Telerik.Reporting.Drawing.Unit(50, Telerik.Reporting.Drawing.UnitType.Inch);
        
        
        //SqlDataAdapter adapter = new SqlDataAdapter(sqlDataSource1.SelectCommand,sqlDataSource1.ConnectionString);
        //DataSet dataSet = new DataSet();
        
          //  adapter.Fill(dataSet);
        //if (dataSet.Tables[0].Rows.Count != 0)
        {
            chartDefinition.Height = new Telerik.Reporting.Drawing.Unit(this.tableTopEmployees.Items.Count, Telerik.Reporting.Drawing.UnitType.Inch);
        }

        
        
    }
private void chart1_NeedDataSource(object sender, System.EventArgs e)
    {
        Telerik.Reporting.Processing.Chart chart =
            (Telerik.Reporting.Processing.Chart)sender;
        Telerik.Reporting.Chart chartDefinition = (Telerik.Reporting.Chart)chart.ItemDefinition;
        chartDefinition.Height = new Telerik.Reporting.Drawing.Unit(50, Telerik.Reporting.Drawing.UnitType.Inch);
         
         
        //SqlDataAdapter adapter = new SqlDataAdapter(sqlDataSource1.SelectCommand,sqlDataSource1.ConnectionString);
        //DataSet dataSet = new DataSet();
         
          //  adapter.Fill(dataSet);
        //if (dataSet.Tables[0].Rows.Count != 0)
        {
            chartDefinition.Height = new Telerik.Reporting.Drawing.Unit(this.tableTopEmployees.Items.Count, Telerik.Reporting.Drawing.UnitType.Inch);
        }
 
         
         
    }
     
        
private void chart1_NeedDataSource(object sender, System.EventArgs e)
    {
        Telerik.Reporting.Processing.Chart chart =
            (Telerik.Reporting.Processing.Chart)sender;
        Telerik.Reporting.Chart chartDefinition = (Telerik.Reporting.Chart)chart.ItemDefinition;
        chartDefinition.Height = new Telerik.Reporting.Drawing.Unit(50, Telerik.Reporting.Drawing.UnitType.Inch);
      chartDefinition.Height = new Telerik.Reporting.Drawing.Unit(6, Telerik.Reporting.Drawing.UnitType.Inch);
            //chartDefinition.Height = new Telerik.Reporting.Drawing.Unit(this.tableTopEmployees.Items.Count, Telerik.Reporting.Drawing.UnitType.Inch);
        
    }
   But height remain the same as it was initialize which is zero.

Thank,
-Saqib
Steve
Telerik team
 answered on 04 Nov 2010
1 answer
103 views

Hi

In our application we are using Reports.
In that we've using sub reports. In Sub Report  while exporting to excel its works fine
but when we merge that report in Main report ,then export to excel its Showing error - "Error.Png".

We are Using Telerik Reporting Q2 2010, Version  4.1.10.921

Pls have a glance on the attached snapshots and provide me some solution.


Thanks & Regards
Karthik
Steve
Telerik team
 answered on 04 Nov 2010
3 answers
169 views
I have been using Telerik Q1 2009 for some time now, and was forced to upgrade to Q2 2010 due to a performance issue when exporting to Excel large datasets from a report using a Table control

I have got the new reporting version Q2 2010 up and running, however when I run a long report, the "Your report is loading" progress message and animated gif do not display anymore, which makes the page appear to be doing nothing and the report appears to be empty as it shows the toolbar. However, after a few seconds all of a sudden the report appears in the report viewer.  

Does anyone know how to get this working again so that it displays a progress message - I have checked the property in the Report Viewer and the text is there for the ProgressText property.

Thanks!
Peter
Telerik team
 answered on 04 Nov 2010
1 answer
209 views
I'm using the Telerik report on a web site (3.5 Framework) and filters that I create at run-time are ignored.  I can create these filters in the report designer, and they work, but I need to create them dynamically.

The data is coming from a stored procedure that creates temp tables and returns results.  I've tried using a SqlDataSource and using the NeedDataSource to create a data adapter and supply the data.

Also, when working with the SqlDataSource, I do no see anything in the Data Explorer (but I believe another thread said that would happen if you aren't pulling directly from DB tables).

Any help would be appreciated.
Peter
Telerik team
 answered on 04 Nov 2010
1 answer
56 views
Trying to use a skin (DeepBlue) and setting LegendDisplayMode to ItemLabels on a pie chart series does not work. It will not show the item labels, only the series name. If you close the solution and re-open, the LegendDisplayMode is set back to SeriesName, even though the *.designer.cs code behind still shows:
chartSeries1.Appearance.LegendDisplayMode = Telerik.Reporting.Charting.ChartSeriesLegendDisplayMode.ItemLabels;

I am able to reproduce this using the CSharp.ReportExamples.VS2008 project in the Quarterly Sales report (Dashboard > Dashboard.cs). Just apply a skin on the Yearly sales distribution pie chart. It automatically sets the LegendDisplayMode back to SeriesName. If you change it back to ItemLables and Preview the report, you'll see the series name again.

Is this why you guys used a custom palette instead of a skin?
Steve
Telerik team
 answered on 04 Nov 2010
1 answer
183 views
Hello,

I use richTextBox and I save it in my database using HtmlFormatProvider.  I need to print this text in the  very same way in report.  But the HtmlTextBox support only text formatting option.

Any suggestion to convert someting this :

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>Untitled</title><style type="text/css">
.p_CC664AAA { margin: 0px 0px 12px 0px;text-align: left;text-indent: 0pt;padding: 0px 0px 0px 0px; } 
.s_76E779F8 { font-family: 'Times New Roman';font-style: Normal;font-weight: normal;font-size: 16px;color: #000000;background-color: #FFFFFF; } 
.s_D8D99854 { font-family: 'Verdana';font-style: Normal;font-weight: normal;font-size: 16px;color: #000000;background-color: #FFFFFF; } 
</style></head><body><p class="p_CC664AAA"><span class="s_76E779F8">q </span><span class="s_76E779F8"> Demeurer en contact avec la victime (victime consciente:</span><span class="s_76E779F8">q</span><span class="s_76E779F8"> oui</span><span class="s_76E779F8">q</span><span class="s_76E779F8"> non</span><span class="s_76E779F8">q</span><span class="s_76E779F8"> ne sait pas)</span><span class="s_D8D99854"><br /></span><span class="s_76E779F8">q </span><span class="s_76E779F8"> Déterminer les causes possibles de l'accident</span></p></body></html>

To this :

<p style="{margin: 0px 0px 12px 0px;text-align: left;text-indent: 0pt;padding: 0px 0px 0px 0px;}"><span style="{font-family: 'Times New Roman';font-style: Normal;font-weight: normal;font-size: 16px;color: #000000;background-color: #FFFFFF;}">q </span><span style="{font-family: 'Times New Roman';font-style: Normal;font-weight: normal;font-size: 16px;color: #000000;background-color: #FFFFFF;}"> Demeurer en contact avec la victime (victime consciente:</span>


Any clue ou suggestion will be VERY appreciate.

Thank you
Mike
Telerik team
 answered on 04 Nov 2010
1 answer
78 views
I have bar chart in my report i want to to represent two values current and total in single bar. As current always lesser than total. I want to represent them in single bar with different color. Find attached image.
Steve
Telerik team
 answered on 03 Nov 2010
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
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?