Hello,
I have report for Delivery list printing. My master report has dataset with delivery list headers (one record per one delivery list) and then I have subreport for detail (product items, quantities and totals).
I need use subreport method, because there is many records in database and I need to select only rows for selected delivery lists. But there is problem, that if detail report is longer than paper format, then on first page is only header from master report and detail subreport begins on second page. I tried turn off keep together parameter for subreport and for master detail section. But nothing helped. Please help me with this problem.
Hi, Team
usiing html text box, the code as below:
<TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Verdana" SIZE="10" COLOR="#000000" LETTERSPACING="0" KERNING="0">html testing</FONT></P></TEXTFORMAT>
then will display the large font. does not support the font size?
Regards
Kid
Is it possible to export a report to some format which can be handled by WPF RichTextBox?
Could you give me an example for exporting report in to HTML format ( what must the delgate function do?)
I'm building an audit report using Telerik Reporting (version R2 2016 SP1). I'm using an ObjectDataSource object that accesses the app's business layer. I used the method call for the Data Member; but the Data Explorer doesn't recognize one of the complex object properties ("ChangeHistory") my coworker wrote.
System Info: Windows 7, .Net 4.5.1, Visual Studio 2013, Telerik Reporting (v R2 2016 SP1 using MVC implementation), MVC5
public class MfrClientInvoiceHeaderAuditHistoryDto { readonly string debitMemoNumber; readonly int clientCorpHierarchyId; readonly AuditDeaEntryDto remitDea; readonly AuditDeaEntryDto returnDea; readonly IEnumerable<AuditChangeRecordDto> changeRecords; public MfrClientInvoiceHeaderAuditHistoryDto(string debitMemoNumber, int clientCorpHierarchyId, AuditDeaEntryDto remitDto, AuditDeaEntryDto returnDto, IEnumerable<AuditChangeRecordDto> changeRecordDto) { this.debitMemoNumber = debitMemoNumber; this.clientCorpHierarchyId = clientCorpHierarchyId; this.remitDea = remitDto; this.returnDea = returnDto; this.changeRecords = changeRecordDto; } public string DebitMemoNumber { get { return debitMemoNumber; } } public int ClientCorpHierarchyId { get { return clientCorpHierarchyId; } } public AuditDeaEntryDto RemitDea { get { return remitDea; } } public AuditDeaEntryDto ReturnDea { get { return returnDea; } } public IEnumerable<AuditChangeRecordDto> ChangeHistory { get { return changeRecords; } } public string ProgramName { get; set; } }
Hi
I have a Web Api project with Telerik reporting, and a client Angular site that hosts the reportviewer.
The report files are compiled into the dll, ie. are not trdx files
I have had the following issues.
The initial call works and the report is displayed. However, subsequent calls just redisplay the initial report. I have verified this by changing the report and recompiling, as well as making changes in the database, yet the report does not change.
My ReportsController is
protected override IReportResolver CreateReportResolver(){ return new ReportTypeResolver();}protected override ICache CreateCache(){ return Telerik.Reporting.Services.Engine.CacheFactory.CreateFileCache();}
I tried to resolve this by overriding CreateStorage
protected override IStorage CreateStorage(){ return new MsSqlServerStorage(@"Server=.\BF;database=Reporting;Integrated Security=true");}But when I do this I get a timeout exception when the report is being resolved
Error creating report instance (Report = NPS.Reports.Simple, NPS.Reports):
An error has occurred.
Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. The statement has been terminated.
I have the Fiddler trace as well as the SQL Server profiler trace, but cannot attach them so I have just attached screenshots.
The full exception is
stackTrace= at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at Telerik.Reporting.Cache.MsSqlServerStorage.AcquireLock(String key) at Telerik.Reporting.Services.Engine.KeyItemPersistableCollection`2.ResolveItem(K referredInstanceKey, Boolean& newItem) at Telerik.Reporting.Services.Engine.ReportEngine.CreateReportInstance(String clientID, String report, Dictionary`2 parameterValues) at Telerik.Reporting.Services.WebApi.ReportsControllerBase.CreateInstance(String clientID, ClientReportSource reportSource) at lambda_method(Closure , Object , Object[] ) at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.<GetExecutor>b__9(Object instance, Object[] methodParameters) at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)--- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__0.MoveNext()--- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()--- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()--- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()--- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()--- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() at System.Web.Http.Controllers.AuthenticationFilterResult.<ExecuteAsync>d__0.MoveNext()--- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__0.MoveNext()Note that for this trace I used a very simple report that has no parameters and no datasource, just a single textbox.
Thanks
Colin Mierowsky
Hi I'm trying to keep Localizable property, I create a report (in default Language), after I setup Language = English (en) and translate static object.
I'm using this code to show report preview, but when LinguaParameter contains "en" Language, it has no effect. Why?
I've attach design of report.
01.Private Sub ReportForm_Load(sender As Object, e As EventArgs) Handles Me.Load02. 03. 'Cerco il parametro lingua04. Dim _CultureInfo As System.Globalization.CultureInfo = Nothing05. Dim _LinguaParameter = m_Parameters.SingleOrDefault(Function(rec) rec.Name.StartsWith("Lingua"))06. 07. If _LinguaParameter IsNot Nothing Then08. 09. If CStr(_LinguaParameter.Value) <> Lingua.LinguaItaliana Then10. 11. _CultureInfo = New System.Globalization.CultureInfo(Lingua.Items.Single(Function(rec) rec.Descrizione = CStr(_LinguaParameter.Value)).Codice)12. System.Threading.Thread.CurrentThread.CurrentUICulture = _CultureInfo13. 14. End If15. 16. End If17. 18. MainReportViewer.ViewMode = Telerik.ReportViewer.WinForms.ViewMode.PrintPreview19. 20. Dim _Instance As New InstanceReportSource21. _Instance.ReportDocument = m_ReportToShow22. 23. If m_Parameters IsNot Nothing Then24. _Instance.Parameters.AddRange(m_Parameters)25. End If26. 27. MainReportViewer.ReportSource = _Instance28. 29. MainReportViewer.RefreshReport()30. 31.End SubI've unpackage on of my report to the trdp file.
After i loaded report this report at run time (from the same Application) it seems fails to use my custom fuctions.
for example a static method from names itr.tms.reports.helper.concate used in for value as
=itr.tms.reports.helper.concate('*',Array(someomefield))
results following error.
is it possible to use Custom function in trdp files?
Is there any external format for telerik raporting which we can embedded into report at runtime?
if there is :
Is there any UIEditor for these format we can emdeded int ouer WPF porgramm to enable user to edit the Documents in this format?

Hello folks,
I created a Windows Form application, and embedded my report on it with Report Viewer Form. I have downdrill crosstabs and graphs on this report.
Problem is, when click ToggleVisibleAction mark on my report to expand the tab, it refreshing all of report and returning view to top of the report/page, which is really annoying if table has too many rows. I want to disable this refreshing thing.
Is there any setting or property to disable this and refresh the table/graph dynamically?
By the way, the report all made in VS designer and edited little on C# side.
Hopefuly you can solve my problem :)
Thank You!
Regards.