Telerik Forums
Reporting Forum
6 answers
414 views
Hi,

we're still evaluating Telerik Reporting, especially the Silverlight components.

One problem we've found so far is, that it seems the image export does not obviously support transparent background colors.
Currently we tried the TIFF-Export using the Silverlight Report Viewer and the API of the rendering engine itself, both without luck.

What did we miss to get transparent background images (preferrably in PNG format) using the server side API ? Examples would be very appreciated ;)

Thank you so far and kind regards

Sebastian
Sebastian
Top achievements
Rank 1
 answered on 10 Nov 2010
1 answer
252 views
The barcode throws an error if the data returned starts with a letter it works if the data starts with a number.  I am using Codabar symbology.  I have included a screenshot.
gureumi
Top achievements
Rank 1
 answered on 09 Nov 2010
0 answers
81 views
I'd like to find a simpler(and better) way of initializing an element.

Let me take an example of TextBox.
Because of Type conversion and etc. It is quite messy.

The following code is what I have as a solution. I used extension method.

Is Telerik going to provide something similar to this?


     double leftPoint = 0;
       double Y_FirstLine = 0.02;
     double width = 1.25;
     double height  = 0.25;
 
     Telerik.Reporting.TextBox textBox;
 
      // Add ItemInfoId Box
      textBox = new Telerik.Reporting.TextBox();        
      textBox.SetTextBoxAttribute("ItemId", leftPoint, Y_FirstLine, width, height);
      groupHeaderSection1.Items.Add(textBox);
 
      // Add Cost  Box
      leftPoint +=  0.6;
      textBox = new Telerik.Reporting.TextBox();
      textBox.SetTextBoxAttribute("COST", leftPoint, Y_FirstLine, width, height);
      groupHeaderSection1.Items.Add(textBox);

                  // a lot more of TextBoxes ... 
 
 
public static class TextBoxExtension
{
   public static void SetTextBoxAttribute(
         this Telerik.Reporting.TextBox  itemBox,
         string value, double left, double top, double width, double height)
   {
      itemBox.Value = value;
      itemBox.Location = new Telerik.Reporting.Drawing.PointU(
        new Telerik.Reporting.Drawing.Unit(left, Telerik.Reporting.Drawing.UnitType.Inch),
        new Telerik.Reporting.Drawing.Unit(top, Telerik.Reporting.Drawing.UnitType.Inch));
      itemBox.Size = new Telerik.Reporting.Drawing.SizeU(
        new Telerik.Reporting.Drawing.Unit(width, Telerik.Reporting.Drawing.UnitType.Inch),
        new Telerik.Reporting.Drawing.Unit(
             height, Telerik.Reporting.Drawing.UnitType.Inch));
   }
}
gureumi
Top achievements
Rank 1
 asked on 09 Nov 2010
0 answers
103 views
Hi,
   I am new to Telerik reporting. I have one report which has a text box control. I need to display this report for two text box values. I can hardcode these values but I don't know how to display a single report as two reports based on the value.

Textbox1.value = "ACTIVE COPY";
textbox1.value = "File Copy";

I want to display same report for these two values.

I appreciate your help.

Thanks
Raj
Raj
Top achievements
Rank 1
 asked on 09 Nov 2010
1 answer
152 views
I am getting an error
"The name already exists in the tree: _10_035".
on one of my reports in the Silverlight Viewer only.
The report has Document Map and Bookmarks set.
This error does not come up with other reports or in the Designer Preview
Any tips as why this error would only come up in the silverlight viewer?
Steve
Telerik team
 answered on 09 Nov 2010
1 answer
137 views
Hi,

    Is it possible to set the possition of a bar chart series Label based on the value of the bar.

    for example i have a bar chat that is used to display a percentage that can be posative or negative value. it is Horizontal and the 0 possition starts in the middle. so what i want to do is if the value is negative have the label on the right and if posative have the label on the left so it is not overlapping the bar.
Steve
Telerik team
 answered on 09 Nov 2010
1 answer
311 views

Hello Telerik Team,

I have a requirement where I need to show a rad window on a telerik report.In this rad window I will have three paramaters with their own values.When the user selects a paramater and its value from the rad window ..how do you pass these values to the report.

I have the rad window working with combo boxes and i am storing the value from the rad combo box in a view state variable.I have added the report parameters programatically.But how do i pass these values to my report which consists of many formulae computed based on these parameter values.
I greatly appreciate your help.

Please provide me a sample report which has this functionality.

Thank You,
Smith

Patrick
Top achievements
Rank 1
 answered on 09 Nov 2010
2 answers
94 views

Hi,

I've got a master-detail report much like you're invoice example.
The subreport has a reportparameter which I then set to a field in the mainreport. So far so good.
But if I then add a filter to the mainreport the report doesn't work anymore, the parts in main are displayed correctly but in the subreport area I get a red text saying:

An error has occurred while processing Report ":
Method GetRowsByStringGuid(System.RuntimeType strGuid) not found.

I use entitydatasource as my datasource and the parameter is actually a guid so I have todo some manual conversion as guid's are not supported.

The strange thing I've noticed however is that if I specify a value for the parameter in the subreport in the ReportParameter Collection Editor like 0 which is not guid but still a valid string. The report works as expected again.

Is this by design or am I missing something or maybe I found a bug?

I'm looking forward to hearing from you.

Tomas

Tomas
Top achievements
Rank 1
 answered on 09 Nov 2010
15 answers
687 views
Hi

I have a problem happened when I press "Export" Button and "Print" Button.

I have a webpage with one Reporting.ReportViewer. And i create a project with all my report.vb for my website

because the report is for Chinese, so i set all my report.vb "Style.Font" to Arial Unicode MS.(and this website is build on IIS6.0 in Win2k3 R2.)

everything is work fine in my design environment . but , when I build up in my customer's environment.

this function suddenly no work.(print button is no response, export button show error message)

All i know that there is only one different between two environment. one is English version windows,

one is Chinese Traditional version windows.
 
please give me a solution or hint to fixed the problem. thanks

Font Arial Unicode MS 8 Regular is not supported.
descript: 在執行目前 Web 要求的過程中發生未處理的例外情形。請檢閱堆疊追蹤以取得錯誤的詳細資訊,以及在程式碼中產生的位置。
 
exception handdle information: System.NotSupportedException: Font Arial Unicode MS 8 Regular is not supported.
 
original program error:
 
在執行目前 Web 要求期間,產生未處理的例外狀況。如需有關例外狀況來源與位置的資訊,可以使用下列的例外狀況堆疊追蹤取得。 
 
堆疊追蹤:
 
 
[NotSupportedException: Font Arial Unicode MS 8 Regular is not supported.]
   Telerik.Reporting.Pdf.Fonts.TrueType.FontReader.GetFontData(Font font, Boolean& isTTC) +466
   Telerik.Reporting.Pdf.Fonts.TrueType.TrueTypeDescriptor..ctor(Font gdiFont) +270
   Telerik.Reporting.Pdf.PdfFontTable.GetDescriptor(PdfFont font) +108
   Telerik.Reporting.Pdf.PdfFontDictionary..ctor(PdfDocument document, PdfFont drawingFont) +83
   Telerik.Reporting.Pdf.PdfFontType0Dictionary..ctor(PdfDocument document, PdfFont font) +17
   Telerik.Reporting.Pdf.PdfFontTable.GetFont(PdfFont font) +97
   Telerik.Reporting.Pdf.PdfPageDictionary.GetFontName(PdfFont font, PdfFontDictionary& fontDictionary) +35
   Telerik.Reporting.Pdf.Rendering.PdfRenderer.GetFontName(PdfFont font, PdfFontDictionary& fontDictionary) +17
   Telerik.Reporting.Pdf.Rendering.PdfRendererGraphicsState.Update(PdfFont font, Brush brush, Int32 renderMode) +46
   Telerik.Reporting.Pdf.Rendering.PdfRenderer.Update(PdfFont pdfFont, Brush brush, Int32 renderMode) +77
   Telerik.Reporting.Pdf.Rendering.PdfRenderer.DrawString(String text, PdfFont font, Brush brush, RectangleF rect, Boolean rightToLeft) +57
   Telerik.Reporting.ImageRendering.CanvasPdf.DrawStringMultiline(String s, Font font, Brush brush, RectangleF rect, StringFormat format) +377
   Telerik.Reporting.ImageRendering.TextBox.Render() +369
   Telerik.Reporting.ImageRendering.RenderingElement.RenderToPage(RectangleRF clip, RoundedFloat parentLeft, RoundedFloat parentTop, RoundedFloat parentReservedTop, RoundedFloat parentReservedBottom, RoundedFloat parentReservedLeft, RoundedFloat parentReservedRight) +2323
   Telerik.Reporting.ImageRendering.RenderingElement.RenderChildren(RectangleRF clip) +189
   Telerik.Reporting.ImageRendering.RenderingElement.RenderToPage(RectangleRF clip, RoundedFloat parentLeft, RoundedFloat parentTop, RoundedFloat parentReservedTop, RoundedFloat parentReservedBottom, RoundedFloat parentReservedLeft, RoundedFloat parentReservedRight) +2429
   Telerik.Reporting.ImageRendering.CompositionBase.RenderPageSection(PageArea pageArea, RenderingElement pageSection, Single height) +585
   Telerik.Reporting.ImageRendering.CompositionBase.ApplyPageSections() +323
   Telerik.Reporting.ImageRendering.CompositionBase.SendPhysicalPages(Boolean force) +52
   Telerik.Reporting.ImageRendering.CompositionBase.End() +75
   Telerik.Reporting.ImageRendering.CompositionPdf.End() +103
   Telerik.Reporting.ImageRendering.CompositionBase.Dispose(Boolean disposing) +22
   Telerik.Reporting.ImageRendering.CompositionPdf.Dispose(Boolean disposing) +11
   Telerik.Reporting.ImageRendering.CompositionBase.System.IDisposable.Dispose() +17
   Telerik.Reporting.ImageRendering.ImageRendererBase.RenderReport(Report report, Hashtable renderingContext, Hashtable deviceInfo, CreateStream createStreamCallback, EvaluateHeaderFooterExpressions evalHeaderFooterCallback) +224
   Telerik.Reporting.ImageRendering.ImageRendererBase.Telerik.Reporting.Processing.IRenderingExtension.Render(Report report, Hashtable renderingContext, Hashtable deviceInfo, CreateStream createStreamCallback, EvaluateHeaderFooterExpressions evalHeaderFooterCallback) +21
   Telerik.Reporting.Processing.ReportProcessor.Render(IList`1 reports, ExtensionInfo extensionInfo, Hashtable renderingContext, Hashtable deviceInfo, CreateStream createStreamCallback) +730
   Telerik.Reporting.Processing.ReportProcessor.RenderReport(String format, IReportDocument reportDocument, Hashtable deviceInfo, Hashtable renderingContext, CreateStream createStreamCallback) +377
   Telerik.ReportViewer.WebForms.ServerReport.Render(HttpResponse response, String format, Int32 pageIndex) +462
   Telerik.ReportViewer.WebForms.ReportExportOperation.PerformOperation(NameValueCollection urlQuery, HttpContext context) +60
   Telerik.ReportViewer.WebForms.HttpHandler.ProcessRequest(HttpContext context) +164
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
John
Top achievements
Rank 1
 answered on 09 Nov 2010
3 answers
110 views
I have no RadReportViewer in my toolbox. I have a report built, but no way to display it. Help!

Thanks,
Charles Hawk
Steve
Telerik team
 answered on 08 Nov 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?