Telerik Forums
Reporting Forum
1 answer
141 views

In the web designer is there a way to restrict users to only select form one existing connection and not be able to create any more? Ideally I'd like to skip stage #1 entirely and go straight to the second step...

Todor
Telerik team
 answered on 20 Aug 2021
1 answer
101 views

Are there any plans to implement the SQL Query Designer in the web report designer?

Neli
Telerik team
 answered on 20 Aug 2021
1 answer
121 views

Hey,

I am designing a column chart and divided the results by categories. However when the columns are plotted, they are not centered in between each category tick:

As you can see, the columns are displaced to the right, and this displacement is increasing for each new record.

This is occurring in every report I design.

How can I solve this?

Thank you,

Manuel Queiroz

Todor
Telerik team
 answered on 20 Aug 2021
1 answer
857 views
I have an ASP .NET CORE application hosted on IIS server. I am using telerik reporting to generate reports. While generating reports it shows "Internal Server Error A generic error occurred in GDI+". At first I thought the problem was due to telerik repot setting was not configured properly but it was configured properly. And at last i found the issue. The issue was the report was not taking some text properly. The text was "च‌ौधरी" and i again typed the text like this "चौधरी" it was supported. The report is being generated properly on applications hosted on windows 10 operating system with the same text i.e. "च‌ौधरी" but on application hosted on Windows server 2012 R2 standard shows "Internal Server Error A generic error occurred in GDI+". Is the operating system creating problem as some unicodes may not be supported in old operating systems? I need solution. I did some research and did changes accordingly but nothing helped the error is still coming. The image of error message is attached with the post.

More Detail of the exception:

{"message":"","exceptionMessage":"A generic error occurred in GDI+.","exceptionType":"Telerik.Reporting.Services.Engine.DocumentRenderException","stackTrace":" at Telerik.Reporting.Services.Engine.Document.GetDocumentInfo()\r\n at Telerik.Reporting.Services.AspNetCore.ReportsControllerBase.GetDocumentInfo(String clientID, String instanceID, String documentID)\r\n at lambda_method(Closure , Object , Object[] )\r\n at Microsoft.AspNetCore.Mvc.Internal.ActionMethodExecutor.SyncActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)\r\n at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeActionMethodAsync()\r\n at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeNextActionFilterAsync()\r\n at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context)\r\n at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)\r\n at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeInnerFilterAsync()\r\n at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextExceptionFilterAsync()"}


Neli
Telerik team
 answered on 19 Aug 2021
1 answer
255 views

Dear Team,

We have installed Telerik in both WINDOWS 10 64 bit OS and LINUX (Debian GNU/Linux 10 (buster) OS) and created .trdp file then generate output and faced alignment issues (same .trdp file provides different output based on WINDOWS/ LINUX OS)

i have attached the reference files 

Thanks for understanding

Kindly provide good solution for us

Best Regards 

Ganesh Raja J

Neli
Telerik team
 answered on 19 Aug 2021
1 answer
117 views

Hi everyone,

My report.trdp include 2 hidden parameters (A,B) and 2 not hidden parameters (C,D)

my PM want when user create new task in scheduling feature on my reporting server then click to parameters tab

The expectation here is:

   2 hidden parameters (A,B)  NOT auto select  "Use default value" check box

   2 not hidden parameters (C,D) AUTO SELECT  "Use default value"  check box

so Is there any way to do that?

1 answer
167 views

Hello, 

I'm new to Telerik Reporting and I was trying to check if it was possible to show custom data in a table in Reporting.

Now I have seen posts where it was mentioned that this was possible...but unfortunately I was unable to make it work at my end.

In my sample....I have already designed a template which has a blank table. Now I was trying to populate the table with data dynamically, but it didn't seem to work.

I am able to view the data from a RDBMS server and  display it in “Preview” Mode in the reporting tool, but this is not what I want.

 

Here is my code.

int[,] arr = new int[2, 2];
arr[0, 0] = 0;     arr[0, 1] = 1;    arr[1, 0] = 2;      arr[1, 1] = 3;

var reportPackager = new Telerik.Reporting.ReportPackager();
using (var sourceStream = System.IO.File.OpenRead("SampleReport.trdp"))
{
    var report = (Report)reportPackager.UnpackageDocument(sourceStream);
    Telerik.Reporting.Table table = report.Items.Find("table1", true)[0] as Telerik.Reporting.Table;
     table.DataSource = arr;

}

Can someone point me to some sample code where something like this might be happening so that I can understand where I might be wrong?

Any help would be appreciated.

Thank you!

 

 
Todor
Telerik team
 answered on 18 Aug 2021
1 answer
176 views

I'm working in a project with AspNet Core 3.1 and Postgres 13, with Npgsql-3.2.7 controller for the conection to my data base in Telerik Report Designer App Desktp. When use a DataSource in said application with default values in the parameters to a stored procedure in postgres, does WORK CORRECTLY, But, when I try use the Report in My AspNet Core MVC application running, sending the parameters like they documentation, the values aren't received in a postgres Stored Procedures. Instead they recieve null value.

Could you help us, and tell us if there are any extra settings that we are missing, or why this situation occurs?

Todor
Telerik team
 answered on 17 Aug 2021
6 answers
1.8K+ views

Hi,

We are starting to use the Reporting Web Designer. We need to implement custom report storage as explained here: https://docs.telerik.com/reporting/how-to-implement-a-report-definition-storage

 

This method: public byte[] GetDefinition(string definitionId) { // Retrieve the report definition bytes from the database. } needs to return byte array of the report.

I have tried converting the report object to byte[] using serialize as shown here https://stackoverflow.com/questions/4865104/convert-any-object-to-a-byte/45402065. But it says that Report object is not serializable.

System.Runtime.Serialization.SerializationException: 'Type 'Telerik.Reporting.Report' in Assembly 'Telerik.Reporting, Version=14.0.20.219, Culture=neutral, PublicKeyToken=a9d7983dfcc261be' is not marked as serializable.'

 

Is there any specific byte[] serializers available with your API? I see there is ReportXmlSerializer to convert it to xml.

 

Thanks,

Tommy
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 16 Aug 2021
5 answers
490 views

I implemented custom DbDefinitionStorage from your example (https://docs.telerik.com/reporting/how-to-implement-a-report-definition-storage).

Designer is working, but when I press "Preview" button I got "Unable to get report parameters. Report 'Barcodes%20Report' cannot be resolved."

Also, how to configure Web Report Designer to work only with one report (no "Open", "New", "Save As" and etc.)

Tommy
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 16 Aug 2021
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?