Telerik Forums
Reporting Forum
3 answers
890 views
Hi,

I am trying to use conditional formatting for a report and what I want to do is compare a field to 2 static values and if TRUE, highlight the text. I am unable to get the syntax correct for the condition. This is what I am trying to achieve.

Compare the field "Type" to both an empty string and also to static text "Upset". I tried to do the following the Conditional Formatting Rules dialog

=Fields.Type = Upset

This works fine. But, if I add NULL to this(to compare to empty string)

=Fields.Type = Upset OR = Null

nothing happens. I tried to use the "IN" operator, but no luck in figuring out the syntax. Is there some documentation that I can use as  a reference or can you point me to the correct syntax?

Thanks
Jayesh Goyani
Top achievements
Rank 2
 answered on 27 Aug 2010
1 answer
169 views
Hello guys.

We developed ten years ago a report component to create our own reports.


There we give the option to our client to organize the fields by drag and drop. The client is able to place the field wherever they want.

Is it possible in Telerik?


Attached in this thread I sent one picture to demonstrate better what I’m trying to say.

Steve
Telerik team
 answered on 27 Aug 2010
2 answers
169 views

I'm creating a chart that represents blood pressure readings. Systolic, diastolic and palpated.

If I have a series of readings to chart and some of the lower numbers are palpated, how can I communicate that on the chart?
The chart will be a two line graphs or a candle stick. 

Any suggestions?
Ves
Telerik team
 answered on 27 Aug 2010
1 answer
164 views
Hello,

I currently am using the trial version of Telerik Reporting. I am able to view the website on my local machine and the reports look great; however, when I moved everything to the web server, and try to view a report, the "Generating Report" message is displayed but when it is done, the screen just goes blank where the report would normally show up. I am able to select options along the top of the report viewer like Next Page, Print, and even Export. When I export the report to PDF it shows up just fine, so I'm not sure why it won't show normally.

Any ideas as to why would be amazing!

Thanks,
Casey
Steve
Telerik team
 answered on 26 Aug 2010
2 answers
205 views

Hi,

I am developing a project with using Microsoft Visual Studio 2010, Telerik Rad Components and Oracle 11g. I used latest version (2010.2.714.40) of Telerik Rad ajax for my project. One month ago there was an error about telerik list view and we took a hot fix from telerik support team about this error. Now, our Telerik version is 2010.2.722.40.

I have an error on my reporting process but I do not know if this error is depending on version differences.

Firstly, I added new report class under the App_Code folder. Then, I clicked report wizard and I created a data source with my connection string which had been written in webconfig file. I created a query with query builder and then I tested this query. The result of the test was successful and I saw all data according to my defined query. When I finished the creation of the report, I clicked preview button but I couldn't see report or data. Then I tried to run my report with report viewer item. I add report viewer to the default.aspx page and I wrote the code which is shown below into the code page

ReportViewer1.Report = new Report1();

When I build the web site I got this error:

Could not find file 'App_Code.h5t8kano.resources'.

Error was given in

this.sqlDataSource1.SelectCommand = resources.GetString("sqlDataSource1.SelectCommand"); row in Report1.cs page.

What can I do about this error? What is the reason of this error?

 


Thanks in advance.

bt_86
Top achievements
Rank 1
 answered on 26 Aug 2010
0 answers
270 views
Hi,

   I'm getting two exception only in server. I do not get it in my local. Any idea for the cause?


Error : System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI+.
   at System.Drawing.Image.Save(Stream stream, ImageCodecInfo encoder, EncoderParameters encoderParams)
   at System.Drawing.Image.Save(MemoryStream stream)
   at System.Drawing.ImageConverter.ConvertTo(ITypeDescriptorContext context, CultureInfo culture, Object value, Type destinationType)
   at System.ComponentModel.TypeConverter.ConvertTo(Object value, Type destinationType)
   at Telerik.Reporting.Pdf.PdfImageInfo.ComputeHash()
   at Telerik.Reporting.Pdf.PdfImageInfo..ctor(Image originalImage, RectangleF srcRect)
   at Telerik.Reporting.Pdf.PdfImageTable.GetImage(Image originalImage, RectangleF srcRect)
   at Telerik.Reporting.Pdf.Drawing.PdfGraphics.DrawImage(Image image, RectangleF destRect, RectangleF srcRect)
   at Telerik.Reporting.ImageRendering.CanvasPdf.DrawImage(Image image, RectangleF destRectMm, RectangleF srcRectPx)
   at Telerik.Reporting.ImageRendering.CanvasBase.DrawImage(Image image, RectangleF destRect)
   at Telerik.Reporting.ImageRendering.CanvasBase.DrawImage(Image bitmap, RectangleF destRect, ImageSizeMode sizing)
   at Telerik.Reporting.ImageRendering.CanvasBase.DrawImageOnPage(Image bitmap, RectangleF destRect, ImageSizeMode sizing)
   at Telerik.Reporting.ImageRendering.Chart.Render()
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderToPage(RectangleRF clip, RoundedFloat parentLeft, RoundedFloat parentTop, RoundedFloat parentReservedTop, RoundedFloat parentReservedBottom, RoundedFloat parentReservedLeft, RoundedFloat parentReservedRight)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderChildren(RectangleRF clip)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderToPage(RectangleRF clip, RoundedFloat parentLeft, RoundedFloat parentTop, RoundedFloat parentReservedTop, RoundedFloat parentReservedBottom, RoundedFloat parentReservedLeft, RoundedFloat parentReservedRight)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderChildren(RectangleRF clip)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderToPage(RectangleRF clip, RoundedFloat parentLeft, RoundedFloat parentTop, RoundedFloat parentReservedTop, RoundedFloat parentReservedBottom, RoundedFloat parentReservedLeft, RoundedFloat parentReservedRight)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderChildren(RectangleRF clip)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderToPage(RectangleRF clip, RoundedFloat parentLeft, RoundedFloat parentTop, RoundedFloat parentReservedTop, RoundedFloat parentReservedBottom, RoundedFloat parentReservedLeft, RoundedFloat parentReservedRight)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderChildren(RectangleRF clip)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderToPage(RectangleRF clip, RoundedFloat parentLeft, RoundedFloat parentTop, RoundedFloat parentReservedTop, RoundedFloat parentReservedBottom, RoundedFloat parentReservedLeft, RoundedFloat parentReservedRight)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderChildren(RectangleRF clip)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderToPage(RectangleRF clip, RoundedFloat parentLeft, RoundedFloat parentTop, RoundedFloat parentReservedTop, RoundedFloat parentReservedBottom, RoundedFloat parentReservedLeft, RoundedFloat parentReservedRight)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderChildren(RectangleRF clip)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderToPage(RectangleRF clip, RoundedFloat parentLeft, RoundedFloat parentTop, RoundedFloat parentReservedTop, RoundedFloat parentReservedBottom, RoundedFloat parentReservedLeft, RoundedFloat parentReservedRight)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderChildren(RectangleRF clip)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderToPage(RectangleRF clip, RoundedFloat parentLeft, RoundedFloat parentTop, RoundedFloat parentReservedTop, RoundedFloat parentReservedBottom, RoundedFloat parentReservedLeft, RoundedFloat parentReservedRight)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderChildren(RectangleRF clip)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderToPage(RectangleRF clip, RoundedFloat parentLeft, RoundedFloat parentTop, RoundedFloat parentReservedTop, RoundedFloat parentReservedBottom, RoundedFloat parentReservedLeft, RoundedFloat parentReservedRight)
   at Telerik.Reporting.ImageRendering.ImageRendererBase.ProcessPages(CompositionBase composition, RenderingElement renderingReport, Int32 startPage, Int32 endPage, Boolean render)
   at Telerik.Reporting.ImageRendering.ImageRendererBase.ProcessPages(Report report, CompositionBase composition, Int32 startPage, Int32 endPage, Boolean render)
   at Telerik.Reporting.ImageRendering.ImageRendererBase.RenderReport(Report report, Hashtable renderingContext, Hashtable deviceInfo, CreateStream createStreamCallback, EvaluateHeaderFooterExpressions evalHeaderFooterCallback)
   at Telerik.Reporting.ImageRendering.ImageRendererBase.Telerik.Reporting.Processing.IRenderingExtension.Render(Report report, Hashtable renderingContext, Hashtable deviceInfo, CreateStream createStreamCallback, EvaluateHeaderFooterExpressions evalHeaderFooterCallback)
   at Telerik.Reporting.Processing.ReportProcessor.Render(IList`1 reports, ExtensionInfo extensionInfo, Hashtable renderingContext, Hashtable deviceInfo, CreateStream createStreamCallback)
   at Telerik.Reporting.Processing.ReportProcessor.RenderReport(String format, IReportDocument reportDocument, Hashtable deviceInfo, Hashtable renderingContext, CreateStream createStreamCallback)
   at Telerik.Reporting.Processing.ReportProcessor.RenderReport(String format, IReportDocument reportDocument, Hashtable deviceInfo)
   at SHAPe.Report.ExportToPDF(Report reportToExport, String name)
   at SHAPe.Report.btnReport_Click(Object sender, EventArgs e)
 
 
Error : System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at System.Drawing.SafeNativeMethods.Gdip.GdipDrawImagePointRectI(HandleRef graphics, HandleRef image, Int32 x, Int32 y, Int32 srcx, Int32 srcy, Int32 srcwidth, Int32 srcheight, Int32 srcunit)
   at System.Drawing.Graphics.DrawImage(Image image, Int32 x, Int32 y, Rectangle srcRect, GraphicsUnit srcUnit)
   at Telerik.Reporting.Pdf.Drawing.PdfImage.InitializeDrawingImage()
   at Telerik.Reporting.Pdf.Drawing.PdfImage..ctor(PdfImageInfo info)
   at Telerik.Reporting.Pdf.PdfImageTable.GetImageDictionary(PdfImageInfo info)
   at Telerik.Reporting.Pdf.PdfImageTable.GetImage(Image originalImage, RectangleF srcRect)
   at Telerik.Reporting.Pdf.Drawing.PdfGraphics.DrawImage(Image image, RectangleF destRect, RectangleF srcRect)
   at Telerik.Reporting.ImageRendering.CanvasPdf.DrawImage(Image image, RectangleF destRectMm, RectangleF srcRectPx)
   at Telerik.Reporting.ImageRendering.CanvasBase.DrawImage(Image image, RectangleF destRect)
   at Telerik.Reporting.ImageRendering.CanvasBase.DrawImage(Image bitmap, RectangleF destRect, ImageSizeMode sizing)
   at Telerik.Reporting.ImageRendering.CanvasBase.DrawImageOnPage(Image bitmap, RectangleF destRect, ImageSizeMode sizing)
   at Telerik.Reporting.ImageRendering.Chart.Render()
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderToPage(RectangleRF clip, RoundedFloat parentLeft, RoundedFloat parentTop, RoundedFloat parentReservedTop, RoundedFloat parentReservedBottom, RoundedFloat parentReservedLeft, RoundedFloat parentReservedRight)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderChildren(RectangleRF clip)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderToPage(RectangleRF clip, RoundedFloat parentLeft, RoundedFloat parentTop, RoundedFloat parentReservedTop, RoundedFloat parentReservedBottom, RoundedFloat parentReservedLeft, RoundedFloat parentReservedRight)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderChildren(RectangleRF clip)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderToPage(RectangleRF clip, RoundedFloat parentLeft, RoundedFloat parentTop, RoundedFloat parentReservedTop, RoundedFloat parentReservedBottom, RoundedFloat parentReservedLeft, RoundedFloat parentReservedRight)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderChildren(RectangleRF clip)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderToPage(RectangleRF clip, RoundedFloat parentLeft, RoundedFloat parentTop, RoundedFloat parentReservedTop, RoundedFloat parentReservedBottom, RoundedFloat parentReservedLeft, RoundedFloat parentReservedRight)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderChildren(RectangleRF clip)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderToPage(RectangleRF clip, RoundedFloat parentLeft, RoundedFloat parentTop, RoundedFloat parentReservedTop, RoundedFloat parentReservedBottom, RoundedFloat parentReservedLeft, RoundedFloat parentReservedRight)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderChildren(RectangleRF clip)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderToPage(RectangleRF clip, RoundedFloat parentLeft, RoundedFloat parentTop, RoundedFloat parentReservedTop, RoundedFloat parentReservedBottom, RoundedFloat parentReservedLeft, RoundedFloat parentReservedRight)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderChildren(RectangleRF clip)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderToPage(RectangleRF clip, RoundedFloat parentLeft, RoundedFloat parentTop, RoundedFloat parentReservedTop, RoundedFloat parentReservedBottom, RoundedFloat parentReservedLeft, RoundedFloat parentReservedRight)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderChildren(RectangleRF clip)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderToPage(RectangleRF clip, RoundedFloat parentLeft, RoundedFloat parentTop, RoundedFloat parentReservedTop, RoundedFloat parentReservedBottom, RoundedFloat parentReservedLeft, RoundedFloat parentReservedRight)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderChildren(RectangleRF clip)
   at Telerik.Reporting.ImageRendering.RenderingElement.RenderToPage(RectangleRF clip, RoundedFloat parentLeft, RoundedFloat parentTop, RoundedFloat parentReservedTop, RoundedFloat parentReservedBottom, RoundedFloat parentReservedLeft, RoundedFloat parentReservedRight)
   at Telerik.Reporting.ImageRendering.ImageRendererBase.ProcessPages(CompositionBase composition, RenderingElement renderingReport, Int32 startPage, Int32 endPage, Boolean render)
   at Telerik.Reporting.ImageRendering.ImageRendererBase.ProcessPages(Report report, CompositionBase composition, Int32 startPage, Int32 endPage, Boolean render)
   at Telerik.Reporting.ImageRendering.ImageRendererBase.RenderReport(Report report, Hashtable renderingContext, Hashtable deviceInfo, CreateStream createStreamCallback, EvaluateHeaderFooterExpressions evalHeaderFooterCallback)
   at Telerik.Reporting.ImageRendering.ImageRendererBase.Telerik.Reporting.Processing.IRenderingExtension.Render(Report report, Hashtable renderingContext, Hashtable deviceInfo, CreateStream createStreamCallback, EvaluateHeaderFooterExpressions evalHeaderFooterCallback)
   at Telerik.Reporting.Processing.ReportProcessor.Render(IList`1 reports, ExtensionInfo extensionInfo, Hashtable renderingContext, Hashtable deviceInfo, CreateStream createStreamCallback)
   at Telerik.Reporting.Processing.ReportProcessor.RenderReport(String format, IReportDocument reportDocument, Hashtable deviceInfo, Hashtable renderingContext, CreateStream createStreamCallback)
   at Telerik.Reporting.Processing.ReportProcessor.RenderReport(String format, IReportDocument reportDocument, Hashtable deviceInfo)
   at SHAPe.Report.ExportToPDF(Report reportToExport, String name)
   at SHAPe.Report.btnReport_Click(Object sender, EventArgs e)

Any solution to fix this issue?

Thanks,
Sivam
Top achievements
Rank 1
 asked on 26 Aug 2010
1 answer
231 views
Hello,
 Could you please let me know how to hide complete tool bar in report viewer for silverlight.

FYI :- The namespace I am using is:-
 xmlns:reportViewer="clr-namespace:Telerik.ReportViewer.Silverlight;assembly=Telerik.ReportViewer.Silverlight"

Thanks in advance.
Steve
Telerik team
 answered on 25 Aug 2010
1 answer
253 views
Hello all,

I have a windows form with a grid that displays items that can be selected by the user using check boxes. Each item has zero or more sub-items attached to them. I would like to let the user select the main items from the grid then have a report that displays all the sub-items that were attached to the selected items.

I have tried creating an ObjectDataSource using the Report Designer with no success. I have tried to manually data bind the report by programmatically setting the DataSource of the report to an IEnumerable<SubItem> that I have created. In this case I set the expressions for the textboxes in the report to [=Property1] where Property1 is a public property of the SubItem class. This gives me a row for each item in the IEnumerable<SubItem> list but instead of displaying the value of the properties it prints [=Property1].

Is it possible to use the reports in this way? If so how? Thanks in advance.
Steve
Telerik team
 answered on 25 Aug 2010
2 answers
188 views
Hi..
How can I suppress  "$0.00"  so it shows up as blank?

Most of my fields are based on calculations..... like...
 
=Fields.inv_sale -  Fields.sale_paid


thanks again
Jon
Top achievements
Rank 1
 answered on 25 Aug 2010
3 answers
172 views
Hello

I have two parameters that hava a datasourse. The second one has a filter on the selected ID on the first parameter.
When I run the report in a browser with reportviewer and select a value on report parameter 1. The report seems to do a posback and all parametersfields dissapear.

I run Q1 2010 SP1
C# 4
Integrated mode.

This worked in previus versions of report viewver. Eiter way its the c# 4 uppgrade or the upgrade of the telerik reporting to q1 that is causing this problem.

Any ideas?
Steve
Telerik team
 answered on 25 Aug 2010
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?