Telerik Forums
Reporting Forum
1 answer
101 views
Despite uninstalling and re-installing and uninstalling The Q2 2010 trial for Telerik reporting, winforms, web stuff etc, my registry and file system is till littered with its legacy and there is still a menu for reporting in visual studio. Huh?

Running VS 2010 Ultimate, Win7 x64

Here is the VS startup log.

157 Begin package load [Telerik.Reporting.VsPackage.VsPackage, Telerik.Reporting.VsPackage, Version=3.11.0.0, Culture=neutral, PublicKeyToken=a9d7983dfcc261be] {EF758E88-9A91-4C54-87EA-D6E1542BE262} VisualStudio 2010/10/08 23:36:14.113
158 End package load [Telerik.Reporting.VsPackage.VsPackage, Telerik.Reporting.VsPackage, Version=3.11.0.0, Culture=neutral, PublicKeyToken=a9d7983dfcc261be] {EF758E88-9A91-4C54-87EA-D6E1542BE262} VisualStudio 2010/10/08 23:36:14.131
159 Entering function CVsPackageInfo::HrInstantiatePackage {D4F5086C-54B9-4B07-BD22-AF72D5B9228F} VisualStudio 2010/10/08 23:36:14.131
160 Begin package load [Telerik.CommonPackage.Telerik_CommonPackagePackage, Telerik.CommonPackage, Version=1.0.5.0, Culture=neutral, PublicKeyToken=d63abc9583eb6f32] {D4F5086C-54B9-4B07-BD22-AF72D5B9228F} VisualStudio 2010/10/08 23:36:14.132
161 End package load [Telerik.CommonPackage.Telerik_CommonPackagePackage, Telerik.CommonPackage, Version=1.0.5.0, Culture=neutral, PublicKeyToken=d63abc9583eb6f32] {D4F5086C-54B9-4B07-BD22-AF72D5B9228F} VisualStudio 2010/10/08 23:36:14.136

I ran devenv / setup

Do you have a script that removes all of the trash from the registry? Failing that, do you have a list of where I should tediously manually delete the entries?

A search for "Telerik" on C: reveals a ton of files in
appdata / local / assembly / dl3
Visual Studio templates
the GAC

 - what kind of uninstallation is that? I wonder what the hell else is left in there?

I wish I had never touched it. Am I really going to have to reformat and reinstall everything to get rid of all this junk?
Erjan Gavalji
Telerik team
 answered on 11 Oct 2010
6 answers
138 views
i am using telerik reporting 2010 Q2 trial version .

i put a textbox and bind it to Fields.A.B.C.Name with objectdatastore
but it says :
the expression contains object 'Name' that is not defined in the current context

what is the problem and how can i solve it ?
Massimiliano Bassili
Top achievements
Rank 1
 answered on 11 Oct 2010
3 answers
150 views
I created a report with some simple grouping but when I preview it every other page is blank (it has the styles but no information). The next page after the blank will contain data, no data is missing just blanks inserted between. The HTML preview works fine.
Any tips on what I am missing?
Thanks
Ed
Top achievements
Rank 1
 answered on 08 Oct 2010
1 answer
114 views
HI,
 
Is it possible to have a chart in a report with a lot of items in a serie, but limit the number of items that are showed on legends ?

Thanks
Edson
Peter
Telerik team
 answered on 08 Oct 2010
1 answer
100 views
Dear Support,

We have a report with 3 different cultures, EN, ES, JP. It seems to be working correct, but sometimes when you try to print the generated report I got an error from the Telerik Dll that says "Unhandled exception at 0x7c911689 in iexplore.exe: 0xC000005: Access violation reading location 0x16141213". We tried in different machines and we also get these error when the Print Preview is going to appear.
After this error the Print Preview does not appear and Internet Explorer closes also.

Attached to this thread is the error message. As I said before the message is not showed always, we have to try a lot of times to get this error.
It seems to be a bug from Telerik or Adobe Plugin (Adobe Plugin is the last we can get in Adobe.com)

Thanks a lot for your help
Peter
Telerik team
 answered on 08 Oct 2010
1 answer
138 views

Dear Support,

I have a report that works with 3 different Cultures. With cultures in English and Spanish all seems to be working fine, but when we generate the report in Japan Culture, and we send it to print the print preview is not complete and if we send it to the printer it is also incomplete.
The report is also using a Japanese Font:
"MS Pゴシック"
We were trying to watch what causes these problem and we got these results.

  • If we generate the report with the Japan Culture and we choose a default font, the report is correct.
  • If we generate the report with the English Culture or Spanish Culture with the Japanese Font: "ï¼­ï¼³ Pゴシック" with the default font, the report is correct.
  • If we generate the report with the Japan Culture and with de Japanese Font: "ï¼­ï¼³ Pゴシック", the report is incorrect.


We cannot say that is a problem with the font because with English and Spanish Culture it generates correct.
We cannot say that is a problem with de Japan Culture because when we change the font to a default font or another Font (Tahoma, Arial) it generates correct.

It seems to be a problem when we use the Japan Culture with the Japanese Font.

Images: 1-ok.jpg, 2-ok.jpg, 3-ok.jpg Show that we generate a report with the Japanese Font but we changed by code the culture to English even we select Japan Culture to Generate.

Images: 1-wrong.jpg, 2-wrong.jpg, 3-wrong.jpg Show that we generate a report with the Japanese Font and Japan Culture and the report is not complete.

Thanks for your Help


 

Steve
Telerik team
 answered on 08 Oct 2010
0 answers
79 views
Hi,

I have a very simple report. Chart control is placed in detail section of the report. Chart is populated using generic list objects. The problem is that when the report is viewed in the browser, chart contains extra x-axis columns. It looks to me the x-axis items are repeated again and again.

Please see the attachment for detail.

Following method is called only once from the page where reportViewer is embedded.
like 

MyReport rpt = new MyReport();
rpt.PlotChart(2,null,null);
rptViewer.Report = rpt;


public void PlotChart(int processID, DateTime? fromInvoiceDate, DateTime? toInvoiceDate)
        {
            try
            {
                myChart.Series.RemoveSeries();
                myChart.ChartTitle.TextBlock.Text = "Days to Payment";
                myChart.DefaultType = ChartSeriesType.Pie;
                IDashboardRepository dashRep = new DashboardRepository();
                List<MockUpChart> chartData = dashRep.GetMockUpChartData(processID, fromInvoiceDate, toInvoiceDate);

                ChartSeries chartSeries = new ChartSeries();
                chartSeries.Name = "Days to Payment";
                chartSeries.Type = ChartSeriesType.Bar;

                foreach (MockUpChart cDatum in chartData)
                {
                    chartSeries.AddItem(cDatum.TotalNoInvoices, cDatum.DaysToPayment.ToString());
                }

                myChart.PlotArea.XAxis.AxisLabel.Visible = false;
                myChart.PlotArea.XAxis.AxisLabel.TextBlock.Text = "Days to Payment";
                //myChart.PlotArea.XAxis.AxisLabel.TextBlock.Appearance.TextProperties.Color = System.Drawing.Color.Red;

                myChart.PlotArea.YAxis.AxisLabel.Visible = false;
                myChart.PlotArea.YAxis.AxisLabel.TextBlock.Text = "Number of Invoices";
                //myChart.PlotArea.YAxis.AxisLabel.TextBlock.Appearance.TextProperties.Color = System.Drawing.Color.Red;
                
                myChart.Series.Add(chartSeries);
                for (int i = 0; i < myChart.Series.Count; i++)
                {
                    myChart.Series[i].Appearance.LabelAppearance.Visible = false;
                }
            }
            catch (Exception ex)
            {
            }
        }
FISCAL
Top achievements
Rank 1
 asked on 08 Oct 2010
0 answers
82 views
Dear all,

I need to programmatically access the excel file, which was created by exporting a report, from my WPF application. Ideally I would like to catch/overload the export event. I cannot figure out how to do this. Can you help me please?

Thank you

Dominik
Dominik
Top achievements
Rank 1
 asked on 08 Oct 2010
2 answers
222 views
Is there a minimum cell size on the telerik reporting table? 

When creating a report I want to try to fit the entire table on one 8 1/2 x 11 sheet of paper within the report.  There can be up to a max of 24 columns.  I'm trying to adjust the font size and cell size to make it all fit even if its microscopic.  We will force the user to use the Zoom in feature.  After reducing font size and setting the textbox size to a certain size the text box and table cell doesn't seem to go any smaller. 

So I was wondering if by default there was a minimum size a cell could be?

Thanks,
-Scott
Scott
Top achievements
Rank 2
 answered on 08 Oct 2010
4 answers
170 views
I'm having issues when exporting a report with a Crosstab from the web viewer.  The report works as I expected in the web viewer.

For most export types (except web archive), the far right "total" column is just missing.

For Excel exports I get an exception:

Server Error in '/' Application.

Attempting to get range {2,5}{1,1},Merged=False,Parent=Session Scoring[0], that intersects with an already merged range.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidOperationException: Attempting to get range {2,5}{1,1},Merged=False,Parent=Session Scoring[0], that intersects with an already merged range.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[InvalidOperationException: Attempting to get range {2,5}{1,1},Merged=False,Parent=Session Scoring[0], that intersects with an already merged range.]
   Telerik.Reporting.Excel97.Worksheet.GetRange(Int32 col, Int32 row, Int32 colSpan, Int32 rowSpan) +207
   Telerik.Reporting.ExcelRendering.Excel97.Worksheet.Telerik.Reporting.ExcelRendering.IWorksheet.GetRange(Int32 col, Int32 row, Int32 colSpan, Int32 rowSpan) +91
   Telerik.Reporting.ExcelRendering.RenderingItem.GetRange(IWorksheet worksheet, TableLayoutInfo layoutInfo) +467
   Telerik.Reporting.ExcelRendering.RenderingItem.Render(IWorksheet worksheet, TableLayoutInfo layoutInfo) +80
   Telerik.Reporting.ExcelRendering.RenderingItemContainer.RenderInternal(IWorksheet worksheet, TableLayoutInfo layoutInfo) +170
   Telerik.Reporting.ExcelRendering.RenderingItem.Render(IWorksheet worksheet, TableLayoutInfo layoutInfo) +259
   Telerik.Reporting.ExcelRendering.RenderingItemContainer.RenderInternal(IWorksheet worksheet, TableLayoutInfo layoutInfo) +170
   Telerik.Reporting.ExcelRendering.RenderingItem.Render(IWorksheet worksheet, TableLayoutInfo layoutInfo) +259
   Telerik.Reporting.ExcelRendering.RenderingItemContainer.RenderInternal(IWorksheet worksheet, TableLayoutInfo layoutInfo) +170
   Telerik.Reporting.ExcelRendering.RenderingItem.Render(IWorksheet worksheet, TableLayoutInfo layoutInfo) +259
   Telerik.Reporting.ExcelRendering.RenderingItemContainer.RenderInternal(IWorksheet worksheet, TableLayoutInfo layoutInfo) +170
   Telerik.Reporting.ExcelRendering.Section.RenderInternal(IWorksheet worksheet, TableLayoutInfo layoutInfo) +76
   Telerik.Reporting.ExcelRendering.RenderingItem.Render(IWorksheet worksheet, TableLayoutInfo layoutInfo) +259
   Telerik.Reporting.ExcelRendering.Group.RenderInternal(IWorksheet worksheet, TableLayoutInfo layoutInfo) +136
   Telerik.Reporting.ExcelRendering.RenderingItem.Render(IWorksheet worksheet, TableLayoutInfo layoutInfo) +259
   Telerik.Reporting.ExcelRendering.RenderingItemContainer.RenderInternal(IWorksheet worksheet, TableLayoutInfo layoutInfo) +170
   Telerik.Reporting.ExcelRendering.Report.RenderInternal(IWorksheet worksheet, TableLayoutInfo layoutInfo) +837
   Telerik.Reporting.ExcelRendering.RenderingItem.Render(IWorksheet worksheet, TableLayoutInfo layoutInfo) +259
   Telerik.Reporting.ExcelRendering.Report.Render(IWorkbook workbook) +443
   Telerik.Reporting.ExcelRendering.Excel97.ExcelReport.Telerik.Reporting.Processing.IRenderingExtension.Render(Report report, Hashtable renderingContext, Hashtable deviceInfo, CreateStream createStreamCallback, EvaluateHeaderFooterExpressions evalHeaderFooterCallback) +187
   Telerik.Reporting.Processing.ReportProcessor.Render(IList`1 reports, ExtensionInfo extensionInfo, Hashtable renderingContext, Hashtable deviceInfo, CreateStream createStreamCallback) +1349
   Telerik.Reporting.Processing.ReportProcessor.RenderReport(String format, IReportDocument reportDocument, Hashtable deviceInfo, Hashtable renderingContext, CreateStream createStreamCallback) +587
   Telerik.ReportViewer.WebForms.ServerReport.Render(HttpResponse response, String format, Int32 pageIndex) +849
   Telerik.ReportViewer.WebForms.ReportExportOperation.PerformOperation(NameValueCollection urlQuery, HttpContext context) +135
   Telerik.ReportViewer.WebForms.HttpHandler.ProcessRequest(HttpContext context) +368
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +867
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +120


Version Information: Microsoft .NET Framework Version:2.0.50727.4952; ASP.NET Version:2.0.50727.4927



This happens with Q2 2010 Internal Build v4.1.10.729 which I'm using because it fixes another issue I was having.
Jim
Top achievements
Rank 1
 answered on 08 Oct 2010
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?