Telerik Forums
Reporting Forum
1 answer
175 views
For the standalone / web report designer, is it open source and allow customization? 
Dimitar
Telerik team
 answered on 22 Jan 2024
1 answer
220 views

When ever I rotate the textbox angle within (90,180,270), this work. 

I have  a problem dealing with angles like ( 315),  the text is always wrapped to the next line regardless of the size of the textbox and number of characters of the textbox value .  So for example, "Etzebeth Thomas" is shown as "Etze" first line and the rest disappear or get displayed within the second line and so forth. 

Look at the below picture

 

This looks like an old issue based on the below post.

https://www.telerik.com/forums/textbox-rotate-angles

 

Any help ?

 

Thanks in advanced.

Dimitar
Telerik team
 answered on 18 Jan 2024
1 answer
190 views

Hello,

Looking for a formula to get the previous Monday and Sunday dates for default report parameters. I assume something similar to this but cannot get figure it out. 

Formula below is the last day of the year. I can't figure out how to make it previous Monday. 

= Today().AddDays(CDbl(- Today().Day))

 

Thanks in advanced

Dimitar
Telerik team
 answered on 17 Jan 2024
1 answer
126 views

Hello,

can I disable Expressions on a TextBox? I am using Telerik Reporting in a C# Project.

I have a TextBox in my Report that has its value set to a string in the Reports code. If the string starts with an "=", the entire string is treated as an expression and is calculated in the rendered Report. Is there a way to display the raw text in the Report TextBox with a "=" at the start and without any calculations applied?

Addind Quotation marks to the string in C# code does not seem to work, as it now adds these Quotation marks to the rendered TextBox.

Thanks.

Niklas
Top achievements
Rank 1
Iron
 answered on 11 Jan 2024
1 answer
1.2K+ views

 I am using Telerik report in my c# project using their REST service, I am using the R1 2017 version, the parameters are all loading and their respective data from the database is also loading but I am getting this error when I click on preview,

When I analyzed the Telerik DLL with the error it meant that the parameters values list is null, but it can't be because I checked the network log, all the parameters are being passed to the REST API. This is the payload I'm sending

{"report":"Activity/Registered Users Report.trdp/VisionReport","parameterValues":{"CPR":"353464654","EMAIL":"","MOBILE":"","FromDate":"2023-12-31T00:00:00.000Z","ToDate":"2024-01-01T00:00:00.000Z","ChannelId":["006","002","005"]}}

to this telerik URL :

https://localhost:44302/api/reports/clients/aaf42228070/instances

When I run the same code and report in my local environment it runs properly. Still, when I deploy the code to the server, I receive this error, I ran the report on Telerik Designer on the server, there also it loads fine, it only causes issues when I am loading it in the browser on the server. Following is the complete error I'm receiving from Telerik.

 {message: "An error has occurred.", exceptionMessage: "Value cannot be null. ↵Parameter name: source",…}
    exceptionMessage
    : 
    "Value cannot be null.\r\nParameter name: source"
    exceptionType
    : 

"System.ArgumentNullException"
message
: 
"An error has occurred."
stackTrace
: 
"   at System.Linq.Enumerable.Select[TSource,TResult](IEnumerable`1 source, Func`2 selector)\r\n   
at Telerik.Reporting.Services.Engine.PersistableCollection`1.GetEnumerator()\r\n   
at Telerik.Reporting.Services.Engine.KeyItemPersistableCollection`2.ResolveItem(K referredInstanceKey, Boolean& newItem)\r\n   
at Telerik.Reporting.Services.Engine.ReportEngine.CreateReportInstance(String clientID, String report, Dictionary`2 parameterValues)\r\n   
at Telerik.Reporting.Services.WebApi.ReportsControllerBase.CreateInstance(String clientID, ClientReportSource reportSource)\r\n   
at lambda_method(Closure , Object , Object[] )\r\n   
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass6_1.<GetExecutor>b__3(Object instance, Object[] methodParameters)\r\n  
 at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   
 
 
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   
 at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__1.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   
 
 
 
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   
 at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   
 at System.Web.Http.Filters.AuthorizationFilterAttribute.<ExecuteAuthorizationFilterAsyncCore>d__3.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   
 
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n  
 at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__6.MoveNext()
1 answer
345 views

Hi,

We are implementing Telerik Reporting in our ASP.NET hosted Blazor WASM application (using .NET 6).
So far we based our implementation on the following sample: https://github.com/telerik/reporting-samples/tree/master/BlazorViewerAndDesignerExample.

We are looking for a way to pass the User from HttpContext of the ReportsController (for viewer and designer controller) to the WebService datasource, so we can authorize the datasource request based on the user ClaimsPrincipal. The webservice datasource is an api controller that is part of the same ASP.NET project.

Is this possible?

Alternatively, if we could pass a certain cookie from the request to the ReportsController to the webservice datasource request, we could make the authorization work with that.

Kind regards,

Lennert

Momchil
Telerik team
 answered on 10 Jan 2024
1 answer
182 views

Hi Team,

I've dabbled with this a little bit, but I've got a parameter in a report that's set to take an array of images. I've inserted a list and set the datasource to the value of the parameter.


The value of this parameter will be something like:

[ "www.images.com/cat.jpg", "www.images.com/dog.jpg", "www.images.com/goldfish.jpg"]

How can I use this structure to assign these values to a Picture Box? I know ReportItem.DataObject exists, but I'm never quite sure how to use it, or if that's even the right approach. Guidance is much appreciated!

Thanks,
J.T.

Dimitar
Telerik team
 answered on 09 Jan 2024
1 answer
319 views
We have a lot of reports saved in the plain text .trdx files and in a lot of cases prefer to use this format. I've seen .trdx refereed to as the "legacy" format over .trdp but was wondering if it's safe to continue using .trdx for the foreseeable future. 
Dimitar
Telerik team
 answered on 08 Jan 2024
1 answer
91 views

Hello,

I am having an issue with creating a new style sheet in the web report designer. I would like to use a "StyleSelector" selector type, but when adding a new selector to the style rule, it defaults to "TypeSelector". How do I change this to be a "StyleSelector"?

Thanks,

Dan

Momchil
Telerik team
 answered on 02 Jan 2024
2 answers
414 views

Hello.

I need you help please. I make report by Telerik Report Designer. i can make report is normal table but i need merge cell multiple column follow "Case_Problem.png". i need result follow "Nedd_Result.png".

I have Report.trdx in Report.zip, inside report have mock data source.

Siriwat
Top achievements
Rank 1
Iron
 answered on 27 Dec 2023
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?