We are in the process of creating a WPF version of our application that is already written in Silverlight. We rely on Telerik controls across our entire UI and we've been very happily surprised with just how easy that process has been thanks to the common interface between Telerik's SL and WPF controls.
However, we have started porting over our logic that deals with the Report Viewer control and have noticed that the ReportViewerModel class is internal in WPF whereas it is public in Silverlight. I've read many forum posts that talk about how the ReportViewerModel class is meant for internal use and can change at any point. Despite that, we've very happily depended on the ReportViewerModel class because we do a lot of 'deep' integration with the Report Viewer. If the internal structure of the Report Viewer changes, we aren't surprised if we need to tweak our code and just accept that as the cost of being tightly coupled with the Telerik controls (on a side note, we have the same situation with the Telerik Grids and other controls where we are also deeply integrated).
In reading through other forum posts, I know you tend to point people towards using methods on the Report Viewer instead of going to the model. I briefly looked into that but there are some functions that just don't seem exposed on the Report Viewer (one example is setting IsExportEnabled on the model which doesn't seem to have any corresponding way to set that from the Report Viewer).
Even if there were ways that we could change our logic to avoid using the ReportViewerModel, I'd still feel much more comfortable if our existing code that has been heavily tested and scrutinized could 'just work' in WPF. We want to avoid as many major refactorings as possible and it seems like we could avoid a whole bunch of headaches if this class could be public like it is in SL.
Hi,
I'm using the kendo html5 report viewer to display my kendo Reports on my MVC app; however i'm having trouble to understand why do my reports/queries take much longer to display on my app than it takes to display on the vs report designer.
Is that normal and is there anything that it can be done to improve the performance of the reports on my application?
I want to do conditional formatting on a particular column called "HubArrival" which is DateTime format. I want it to have a pink background if the difference between HubArrival and BookedArrival is greater than 45 minutes, and I have set up conditional formatting to do this. Here is the code from the resulting designer file:
formattingRule2.Filters.Add(new Telerik.Reporting.Filter("AddMinutes(Fields.BookedArrival, 45)", Telerik.Reporting.FilterOperator.LessThan, "Fields.HubArrival"));
On running the report, an error occurs stating that DateTime cannot be compared with text - but both fields are of type DateTime.
Hello,
i am using Telerik R1 2017 and created many reports. by default the background color of the report viewer is white. i want to change the background color of the report viewer so that the report stands out.
i tried below mentioned style
<style>
#reportViewer {
position:absolute;
left: 5px;
right: 5px;
top: 5px;
bottom: 5px;
font-family: 'segoe ui', 'ms sans serif';
overflow:hidden;
z-index:-1;
background-color:ivory;
}
</style>
this does sets background color but now the main report is not visible at all. i can only see the color i have selected as background color.
Kind Regards,
Savan K. Parmar
I'm not sure where else to put this. My users (usually using IE 10/11) have random issues when trying to view a report. Sometimes they come up fine and sometimes they don't. I've seen some similar issues related to the report cache but I can't figure it out. One thing I did notice is that the site is HTTPS but the reportviewer request URL is http.
Here are the exception details:
Message: Object reference not set to an instance of an
object.
Source: Telerik.Reporting
Stack Trace: at
Telerik.Reporting.Html5Rendering.Writers.Html.ImageWriter.SaveImageInStreamCore(IImageContainer
imageContainer)
at
Telerik.Reporting.Html5Rendering.Writers.Html.ImageWriter.WritePredefinedImage(IImageContainer
imageContainer)
at Telerik.Reporting.Html5Rendering.Writers.Html.Checkbox.WriteImage(CheckBox
checkBox, PictureContainerPageInfo picPageInfo)
at
Telerik.Reporting.Html5Rendering.Writers.Html.Checkbox.Begin(LayoutElement
element, ElementPageInfo pageInfo)
at Telerik.Reporting.Html5Rendering.Writers.Report.WriteStartElement(LayoutElement
element, ElementPageInfo pageInfo)
at
Telerik.Reporting.BaseRendering.PageHandler.Telerik.Reporting.Paging.IPageHandler.StartElement(LayoutElement
element, ElementPageInfo info)
at Telerik.Reporting.Paging.PageStartElement.AddToPage(IPageHandler
handler)
at
Telerik.Reporting.Paging.PageElementLayer.AddToPage(IPageHandler handler)
at
Telerik.Reporting.Paging.PageElementManager.AddToPage(IPageHandler handler)
at
Telerik.Reporting.Paging.PageCompositionBase.AddElementsToPage()
at
Telerik.Reporting.Paging.PageCompositionBase.SendPhysicalPages()
at
Telerik.Reporting.Paging.PageCompositionBase.OutputPage()
at
Telerik.Reporting.Paging.PageCompositionBase.CreatePages()
at Telerik.Reporting.Paging.PagerBase.Telerik.Reporting.Paging.IPager.CreatePages(IPageHandler
handler, LayoutElement root)
at
Telerik.Reporting.BaseRendering.RenderingExtensionBase.Render(LayoutElement
root, Hashtable renderingContext, Hashtable deviceInfo, CreateStream
createStreamCallback, EvaluateHeaderFooterExpressions evalHeaderFooterCallback,
PageSettings pageSettings)
at
Telerik.Reporting.BaseRendering.RenderingExtensionBase.Render(Report report,
Hashtable renderingContext, Hashtable deviceInfo, CreateStream
createStreamCallback, EvaluateHeaderFooterExpressions evalHeaderFooterCallback)
at
Telerik.Reporting.Processing.ReportProcessor.RenderCore(ExtensionInfo
extensionInfo, IList`1 processingReports, Hashtable deviceInfo,
IRenderingContext renderingContext, CreateStream createStreamCallback)
at
Telerik.Reporting.Processing.ReportProcessor.RenderCore(String format, IList`1
reports, Hashtable deviceInfo, IRenderingContext renderingContext, CreateStream
createStreamCallback)
at
Telerik.ReportViewer.WebForms.ReportPageOperation.RenderReport(String format,
IList`1 processingReports, Hashtable deviceInfo, IRenderingContext
renderingContext)
at
Telerik.ReportViewer.WebForms.ReportRenderOperation.PerformOperationOverride()
at
Telerik.ReportViewer.WebForms.ReportPageOperation.PerformOperationOverride()
at
Telerik.ReportViewer.WebForms.HandlerOperation.PerformOperation(HttpContext
context, ICacheManager cacheManager)
at
Telerik.ReportViewer.WebForms.BasicHandler.ProcessRequest(HttpContext context)
at
System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously)
Target Site: System.String
SaveImageInStreamCore(Telerik.Reporting.Processing.Imaging.IImageContainer)
Request Details:
URL: http://*url hidden*/Telerik.ReportViewer.axd?instanceID=1d087466ed0a454683886958922f347e&optype=Report&PageIndex=0&RenderID=41047800a01c4dbe9a8772d18de201ce&RenderingFormat=HTML5Interactive
I created a Rose Radar Graph to mimic a Polar Graph, I have the angular axis labeled at each 90 degree interval with a max of 360 degrees. Is there a way to add 180 to that value? also, the Graph Axis lines aren't showing as I want them too, i've attached a screenshot as well.
Where the 0 is on the top, I want to display 180, 90 -> 270, etc. The axis lines I want to be a cross versus the x like configuration they are in now.

Hi,
I'm having problem with a graph in a report. The lables get mixed together. See attached image.
Best regards,
Thomas Hellström
When I generate my pie charts, sometimes all of the labels get stacked on top of one another and it shrinks the pie chart down to a tiny size to make room for all of them.
Is there any way to get the chart to move some to the left and some to the right so it doesn't do this? See the attached image, compare the size of each pie chart and notice how one of them has 6 labels stacked in one spot
Thanks
I'm having trouble with re-running reports and the export button. In this scenario, hitting the export button will export all previously opened version of the report, so you end up with multiple exports. Here's the setup:
Lets say you create a telerik report and you have some kind of a parameter building UI. You run the report and it opens up below your parameter building section. Then you decide you want to add one more thing, you add the new parameter and run your report again. The report correctly loads with the new parameter.
In both runs the report executes on the same element. On run, it clears the data from the element with the following line of code: myReportData.removeData();. After which it recreates the report.
However, when you click "export to pdf", you get a pdf from both versions of the report. It's as if the binding to that button still exists and the report is cached. If it is a binding how can I remove it? If the file is caches somewhere, how can I delete that cache?
We are creating report for our Web application and We have following Issues:
Date Format issue as default it always give (4/27/2017) - (MM/dd/yyyy) we need to Customize the Date format as (dd/MMM/yyyy).
I need to add Date validations in the report viewer is it possible, if So Share me the Sample code for it.
Regards,
Durai