Hi,
I'm trying to setup the telerik reporting on a asp net core project targeting net462 and I can't configure it unless I use the app.config, but using the app.config is not an option, nor changing to .net core, so, anyone knows a way to setup this properly?
Thank you
Hi there
I'm trying to print labels with a label printer using Telerik Reporting. I just updated it to the latest version to make sure that I don't have any version conflicts. In my application I created a report by designer with just one textbox to make sure it's not my data which causes the problem.
I then use this code on button click:
01.
// prepare report
02.
Telerik.Reporting.Report report =
new
TestLabel();
03.
report.PageSettings.Margins =
new
TelerikDrawing.MarginsU(
new
TelerikDrawing.Unit(0),
new
TelerikDrawing.Unit(0),
new
TelerikDrawing.Unit(0),
new
TelerikDrawing.Unit(0));
04.
report.PageSettings.PaperKind = PaperKind.Custom;
05.
report.PageSettings.PaperSize =
new
TelerikDrawing.SizeU(
new
TelerikDrawing.Unit(97, TelerikDrawing.UnitType.Mm),
new
TelerikDrawing.Unit(97, TelerikDrawing.UnitType.Mm));
06.
07.
// set printer settings
08.
PrinterSettings printSet =
new
PrinterSettings();
09.
printSet.Copies = 1;
10.
printSet.PrinterName = LabelPrinterName;
11.
12.
// create report processor
13.
ReportProcessor repProc =
new
ReportProcessor();
14.
repProc.PrintController =
new
StandardPrintController();
15.
16.
InstanceReportSource repSrc =
new
InstanceReportSource();
17.
repSrc.ReportDocument = report;
18.
19.
// print report
20.
repProc.PrintReport(repSrc, printSet);
I set a breakpoint on line 20 on the PrintReport method. When I continue the code, it takes about three minutes to finally print the report and the code to continue. I'm wondering why this is taking so long. Is there anything wrong with my code during preparation, is there a setting missing or causing problems?
Cheers,
Roman
Hello,
I am working with Reporting using HTML5 Report Viewer. I have designed Custom Report Resolver for showing up the reports. My reports have WebServiceDatasource that use OData to load data from database. Sometimes OData can through an exception. For example, When OData request select a property which doesn't exist in requested table, then there is error in OData saying like: "Could not find a property named 'NewProperty' on type 'EntityType'".
Custom Report Resolver also through exception, because there is error in OData. But, custom report resolver showing error message with this text: "Response status code does not indicate success: 500 (Internal Server Error)".
I need real error message. Can someone know how to get internal error message as the OData error message?
It is announced that the new release Telerik R1 2020 includes a new report viewer control for Blazor applications.
2 questions:
1) Is it possible to see a demo? I couldn't find one on the telerik site.
2) Will the Web report designer work in Blazor?
Hi there,
currently we're able to use Telerik Reporting to fulfill our project requirements (.NET MVC), which is to generate Realtime resume/CV (curriculum vitae) in a divided page. Left side of the page is the form to collect the resume data, right side of the page is the Report Viewer. Basically, the processes are :
We did a test to create resume on our project (which already deployed into our Azure environment) simultaneously by some users. What happened is, every time the report refreshed, consume about more or less 300MB of RAM per user.
We did another test, which is to exclude process no. 3 to make sure our backend process is not the problem. The test result is the same.
Do you have any suggestion regarding our issue ? Thank you.
Telerik version we use : Telerik reporting R3 2019 SP1 (13.2.19.1030)
We are using version 15.0.21.224 and on some clients machines WPF Report Viewer button "Search in report contents" throw exception:
The type initializer for 'Telerik.ReportViewer.Wpf.SearchDialog' threw an exception.
StackeTrace: at Telerik.ReportViewer.Wpf.SearchDialog..ctor(ITextResources resources, IEnumerable`1 mergedDictionaries)
at Telerik.ReportViewer.Wpf.Search.SearchDialogController.Toggle()
at Telerik.ReportViewer.Wpf.ReportViewerModel.ToggleReportContentSearch()
at Telerik.ReportViewer.Wpf.ReportViewerModel.SearchCommandImpl.Execute(Object parameter)
at Telerik.ReportViewer.Wpf.ReportViewerModel.Command.System.Windows.Input.ICommand.Execute(Object parameter)
at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at Telerik.Windows.Controls.RadToggleButton.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at Telerik.Windows.Controls.RadToggleButton.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
What is issue can be?
Hi
i have asp.net web form application, i want to add telerik web report desinger control there, is there a sample code or helpfull link there for this ? , all the articles i saw till now are related to asp.net core or asp.net mvc applications.
Regards,
Zain
I use HTML5 ReportViewer in asp.net core 3.1,
I try render the demo report "Product Catalog" , and found that the document map tree node display not correct.
for the parent nodes, just can see the icon but no text ,
I check the html elements, find that the two <span> elements (for the parent node) make a wrong Inclusion relation.
How to resolve it ?
My version is : 14.2.20.1021
Thanks.
Hello!
I am migrating reports from .Net Framework 4.5.2 to .Net Core 3.1. I've been having issues with the report designer within Visual Studio as it seems not to work. I've been trying for a while, with different libraries/dlls but no success. The reports do work on Core, the only problem seems to be the VS Designer. We really don't wanna switch to some other designer to edit out existing reports so if possible we'd like to use it the same way that we've been using it till now. The image with the error is attached. How would we go about fixing this? Is it even possible? Thank you for answer in advance!
Best regards,
Denis