Telerik Forums
Reporting Forum
1 answer
71 views

Hi there,

after updating our reporting service to 10.2.16.914 we found this issue:

if using TextFields (like txtPeriodHeader) and set Value in a NeedDataSource event, they are empty.

After resetting to 9.2.16.1216 everything worked as expected.

txtPeriodHeader.Value = String.Format("{0} - {1}", StartDatum.ToShortDateString(), periodEnd.AddMonths(1).AddDays(-1).ToShortDateString());

This works in 9.2.16.1216 as expected, in 10.2.16.914 we got empty fields.

Best regards

Manfred

Stef
Telerik team
 answered on 16 Dec 2016
3 answers
719 views

Hi,

I need To print 2 headers respectively to there data  in a report.

    i.e.:       - print the first Header on every page until it's data section all printed

                 - then break the page and start the next page with the 2nd Header and keep going with the second Header until the end of the report.

I tried binding in the Header Section  and set  

"PrintOnEveryPage" to : PageExec( "DetailSection...and other Items", Count(Fields.TriedManyItemFromDataObject)>0)

but it is returning a 0 all the way. I checked your invoice example to understand the function specially the scope parameter and I see that you are using "lineTotalDataTextBox" as scope in you examples. Could you explain why you are choosing only this textBox ?

 

I will appreciate any help in Advance.

Thanks.

 

Stef
Telerik team
 answered on 15 Dec 2016
5 answers
3.1K+ views

I must be missing something obvious but I am unable to create a 'simple' grouped table according to the following layout:

-------------------

| GROUP1

| -item1

| -item2

| GROUP2

| -item3

| -item4

-------------------

The datasource i am using is flat.( Item1 { Group ="GROUP1", Name = "item1"}) etc.

Is it even possible to do this with a single table? I've been going at it for about two hours now, i've seen all kinds of results, but not what i need :-)

 

 

Katia
Telerik team
 answered on 15 Dec 2016
7 answers
575 views

Hi, I am using VB.NET web application with Telerik Reporting (standalone designer) where I am passing some parameters from VB.net code to the Telerik report, as shown below. 

ReportViewer1.ReportSource.Parameters.Add(New Telerik.Reporting.Parameter("FromDate", dtpFromDate.SelectedDate))
ReportViewer1.ReportSource.Parameters.Add(New Telerik.Reporting.Parameter("ToDate", dtpToDate.SelectedDate))

This works fine for a single-value parameter, however, how can I pass on a multivalue parameter from VB.net to the Report. For instance, I am using a radCheckBoxList where the user can select more than one selection. How to pass the radCheckBoxList selected items/values to the multivalued parameter.

Thanks in advance,

Shady
Top achievements
Rank 1
 answered on 14 Dec 2016
3 answers
239 views

Hi,

I want to set the detail height of the section in Telerik Report ..........

 

For Example :-  In detail section it must accomodate 10 records in this section, if the report contain 1 record ,9 empty records will be inserted in the detail section... 

 

 

 

Katia
Telerik team
 answered on 14 Dec 2016
11 answers
776 views

I created a report

using sqlDataSource with parametrized store procedure,

 

Is

 

it possible to show a "no data exists" message if the query returns no data?

 

Stef
Telerik team
 answered on 14 Dec 2016
2 answers
193 views

Having a problem with one of my reports, it either gets blank or shows the same data regardless of which value I set the (using only one parameter) report parameter to.

I have discovered that if I set the parameter to a value in the "Configure data source parameters" it will allways show a report with data based on that value. Even if I set another parameter by source code.

If I don't set the value of the parameter in "Configure data source parameters" the report shows up blank, regardless of which value I put into it at designtime (Preview) or runtime (by code).

It's like the value set by designtime or at runtime gets overrided by the value in "Configure data source parameters". If I leave value in "Configure data source parameters" blank the report will be blank.

I've checked all the things mentioned in "http://www.telerik.com/support/kb/reporting/details/problem-telerik-reporting-renders-blank-pages". I've tried re-create the data source. 

 

David
Top achievements
Rank 1
 answered on 14 Dec 2016
1 answer
125 views

Hi there,

I have deployed a Telerik Report (v9.1.15.731) on a machine, and the report itself works great. But when I try to “Export” the report, or click the "Print" icon on it, after the “Save As” window appears and I save, the file doesn't get saved.

It eventually does get saved, but once in every 10-15 tries. It is random. And this issue occurs only in reporting.

I have checked the EventViewer Log and found that the following exception appeared every time this issue was faced. Here is the full log:

------------------------------

Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 12-Dec-16 11:03:18 AM
Event time (UTC): 12-Dec-16 8:03:18 AM
Event ID: 3d4f8afcdaba4ed5bc5786c27a4311ee
Event sequence: 40
Event occurrence: 1
Event detail code: 0
 
Application information:
    Application domain: /LM/W3SVC/4/ROOT-7-131260033658791910
    Trust level: Full
    Application Virtual Path: /
    Application Path: C:\Kit\CCB-GP-Reports\
    Machine name: CCBSQL
 
Process information:
    Process ID: 1384
    Process name: w3wp.exe
    Account name: CONSCRT\administrator
 
Exception information:
    Exception type: HttpException
    Exception message: Server cannot append header after HTTP headers have been sent.
   at System.Web.HttpHeaderCollection.SetHeader(String name, String value, Boolean replace)
   at Microsoft.Owin.Host.SystemWeb.CallHeaders.AspNetResponseHeaders.Set(String key, String[] values)
   at Microsoft.Owin.Infrastructure.OwinHelpers.AppendHeaderUnmodified(IDictionary`2 headers, String key, String[] values)
   at Microsoft.Owin.Infrastructure.ChunkingCookieManager.AppendResponseCookie(IOwinContext context, String key, String value, CookieOptions options)
   at Microsoft.Owin.Security.Cookies.CookieAuthenticationHandler.<ApplyResponseGrantAsync>d__f.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 Microsoft.Owin.Security.Infrastructure.AuthenticationHandler.<ApplyResponseCoreAsync>d__b.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 Microsoft.Owin.Security.Infrastructure.AuthenticationHandler.<ApplyResponseAsync>d__8.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 Microsoft.Owin.Security.Infrastructure.AuthenticationHandler.<TeardownAsync>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 Microsoft.Owin.Security.Infrastructure.AuthenticationMiddleware`1.<Invoke>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 Microsoft.Owin.Security.Infrastructure.AuthenticationMiddleware`1.<Invoke>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 Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.IntegratedPipelineContextStage.<RunApp>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 Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.IntegratedPipelineContext.<DoFinalWork>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.IntegratedPipelineContext.EndFinalWork(IAsyncResult ar)
   at System.Web.HttpApplication.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
 
 
Request information:
    Request URL: http://ccbsql:1010/api/reports/clients/110315-5a11/instances/103714-54ba/documents/110316-df3e110316-3e23/resources/f6a8312b165f4639a029ba42c07f56bc/
    Request path: /api/reports/clients/110315-5a11/instances/103714-54ba/documents/110316-df3e110316-3e23/resources/f6a8312b165f4639a029ba42c07f56bc/
    User host address: 192.168.5.8
    User: admin
    Is authenticated: True
    Authentication Type: ApplicationCookie
    Thread account name: CONSCRT\administrator
 
Thread information:
    Thread ID: 13
    Thread account name: CONSCRT\administrator
    Is impersonating: False
    Stack trace:    at System.Web.HttpHeaderCollection.SetHeader(String name, String value, Boolean replace)
   at Microsoft.Owin.Host.SystemWeb.CallHeaders.AspNetResponseHeaders.Set(String key, String[] values)
   at Microsoft.Owin.Infrastructure.OwinHelpers.AppendHeaderUnmodified(IDictionary`2 headers, String key, String[] values)
   at Microsoft.Owin.Infrastructure.ChunkingCookieManager.AppendResponseCookie(IOwinContext context, String key, String value, CookieOptions options)
   at Microsoft.Owin.Security.Cookies.CookieAuthenticationHandler.<ApplyResponseGrantAsync>d__f.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 Microsoft.Owin.Security.Infrastructure.AuthenticationHandler.<ApplyResponseCoreAsync>d__b.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 Microsoft.Owin.Security.Infrastructure.AuthenticationHandler.<ApplyResponseAsync>d__8.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 Microsoft.Owin.Security.Infrastructure.AuthenticationHandler.<TeardownAsync>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 Microsoft.Owin.Security.Infrastructure.AuthenticationMiddleware`1.<Invoke>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 Microsoft.Owin.Security.Infrastructure.AuthenticationMiddleware`1.<Invoke>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 Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.IntegratedPipelineContextStage.<RunApp>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 Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.IntegratedPipelineContext.<DoFinalWork>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.IntegratedPipelineContext.EndFinalWork(IAsyncResult ar)
   at System.Web.HttpApplication.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
 

Custom event details:

------------------------------

Would really appreciate any help, suggestions or ideas to find a fix for this issue.

Thank You!

Best Regards,

veggiedude

Stef
Telerik team
 answered on 13 Dec 2016
8 answers
745 views

Currently doing an evaluation of Telerik reporting for use in an ASP.NET development.


Really struggling to see how to access the subreport data from the main report. All I want to do is display some totals from the subreports onto the main report. Really easy in SSRS or even Access, can't see a straightforward way in Telerik. Please help.





Stef
Telerik team
 answered on 13 Dec 2016
1 answer
240 views

I have .trdp report designed in the Telerik Report Designer and displayed with html5 report viewer with REST service.

Initially the report is loading only the group headers and when you expand one the whole report is reloading to get the rows in the group (same for collapsing).

Is it possible the report to load all the data at start, not only group headers, and the expand/collapse to only show/hide the rows html?

Stef
Telerik team
 answered on 13 Dec 2016
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?