Telerik Forums
Reporting Forum
0 answers
177 views
I made a .trdp file through the report designer and put it in my project folder.
And I made a telic.Report. Added UriReportSource and URI and parameters.
And then I went to Telek. Report Viewer.Winform. I wanted to preview it through the Report Viewer.
The ReportSource of the ReportViewer has been applied to a previously set URI and the RefreshReport() function has been enabled.
However, the report is null when checked after debugging.
+) When running ReportViewer with the ShowPageSetupDialog function, the error "Report does not exist or the report does not appear in the viewer in advance."

I posted a similar question a few days ago.
I've been looking for it, but I don't know.
I want to print the report by sending the parameters to a .trdp file from Winforms, but I don't know why it's not working.

I don't know if I didn't have enough settings.
You just want to print the generated report (.trdp) file.
arbam
Top achievements
Rank 1
Iron
 updated question on 10 Jul 2022
1 answer
99 views

Hi!
Winform Telerik Reporting 16.0.22..225 

How could I set the metadata of the PDF document? title, author, keywords, application, etc.
Thank you

 

Dimitar
Telerik team
 answered on 08 Jul 2022
0 answers
70 views

Hi,

We are trying to bind a parameter value to TitleStyle.Color property of Table of Contents and we are getting an error :

"An error has occured while processing TocSection 'tocsection1' : Bindings error - The value of property 'TitleStyle' is null."

We have tried  TitleStyle.FontBold with the value 'True'. The same errors pops up for all TitleStyle property assignment. 

The parameters has values in it and it works when assigned to Style.Color or  Style.BackgroundColor.

Can you please help us to resolve this issue?

Dali
Top achievements
Rank 1
 asked on 07 Jul 2022
0 answers
153 views

I am developing with c# Telerik Winforms.
And I created a .trdp file using Telerik Reporting for label output.
Then I refered to the Telerik Reporting document.

<

Telerik.Reporting.UriReportSource urs= new Telerik.Reporting.UriReportSource();
urs = "Report.trdp";

>

I wrote it like this.
However, <urs = "Report.trdp";> gets the error "Cannot implicitly convert type 'Telerik.Reporting.UriReportSource'.

I want to print it out as a file made through Telerik Reporting, but I don't know what to do.

I made a .trdp file and put the .trdp file in the Report folder of my project.
And I want to send the parameters when I click the button on the cs, and make it output from the default printer right away without a preview.
I have no idea. Help me

 

++++ The designation of the reportSource for the uri was successful.
But the preview won't work.

>> Telerik.Repoting.UriReportSource urs = new Telerik.Reporting.UriReportSource();

urs.uri = @"Report/Report.trdp";

urs.Parameters.Add("Column", data);

 

Telerik.ReportViewer.Winforms.ReportViewer rv = new Telerik.ReportViewer.Winforms.ReportViewer();

rv.ReportEngineConnection = new Telerik.ReportViewer.Common.EmbeddedConnectionInfo().ConnectionString();

rv.ViewMode = Telerik.ReportViewer.Winforms.ViewMode.PrintPreview;

rv.ReportSource = urs;

 

rv.RefreshReport();

rv.ShowPageSetupDialog(); >>>> "There is no Report or the report is not previewed in the viewer"

I can't see how to print and if the value goes into the report.

arbam
Top achievements
Rank 1
Iron
 updated question on 06 Jul 2022
1 answer
263 views

Hello,

1.) I have a requirement to integrate our Web Application with a custom reporting editor just like your Telerik Web Report Designer with which our end users can customize Reports using Toolbox which will contain dynamic images, text statements or some dynamic fields including text box based on our data. In short, Can I populate the toolbox with my stored procedure working behind SQL Server ?

2.) I need the user to design only the layout for eg. the user will only select Questions from Question Bank (listed in toolbox) by dragging and we will get the answers of those questions from our database (SQL Server).

3.) Or, based on the requirement mentioned above if there is any alternative available, Please suggest.

0 answers
154 views

I have StartDate and FinishDate paraemeters and I want their default to always be "this year" so StartDate would always be the 1st of Jan of the current year and FinishDate would be the 31st of Dec of the current year.

Is this possible with the date expressions?

Here are some example I have saved in my notebook but cannot figure out this new requirement :-)

First Day of Last Month

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

 

Last Day of Last Month

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

 

First Day of This Month

= Today().AddDays(CDbl(1 - Today().Day)).AddMonths(0)

 

First Day of This Month Last Year

= Today().AddDays(CDbl(1 - Today().Day)).AddMonths(-11)

 

Last Day of This Month

= Today().AddDays(CDbl(1 - Today().Day)).AddMonths(0).AddMonths(1).AddDays(CDbl(-1))

Tommy
Top achievements
Rank 1
Iron
Iron
Iron
 asked on 30 Jun 2022
0 answers
4.0K+ views

Hi,

We just installed Visual Studio 2022 and none of our Telerik Reports load in the designer (just a blank screen).  We are using R3 2016 SP1 (10.2.16.1025).   This is a legacy winforms app using .net framework 4.5.2.  Am I missing something or is 2016 not supported in 2022?  If it is not supported, can you tell me what the earliest version of Telerik Reporting is supported in Visual Studio 2022?  I would like to minimize the conversion process.

Thank you,

David Adams

2 answers
463 views

Hi,

I am trying to implement the Web Report Designer using version 16.1.22.511 under .NET Framework 4.8.

I have a custom IDefinitionStorage, but the behaviour is exactly the same using the native FileDefinitionStorage.

I have only one report named Report1.trdp. When I try and upload two reports in the Assets Manager, Report2.trdp and Report1.trdp, the following method gets called twice.

Task<ResourceFileModel> GetModelAsync(string uri)

Please see 1_upload_report1.png and 2_upload_report2.png to see what it returns, and 3_upload_results.png to see the result (it successfully uploaded Report2.trdp, and failed to upload Report1.trdp because it already exists).

 

Now I would have expected the same kind of behaviour when trying to create new reports, ie allow reports that don't match by name an existing one and reject reports that do or at least warn the user.

When I try and create a new report named Report2.trdp, the following method is called (see 4_new_report2.png)

Task<byte[]> GetAsync(string resourceName)

It returns null because no such report already exists, then the following method is called

Task<ResourceFileModel> SaveAsync(SaveResourceModel model, byte[] resource)

When I try and create Report1.trdp however, the first method (GetAsync) returns an actual byte[] (see 5_new_report1.png) and an exception is thrown by Telerik.WebReportDesigner.Services (see 6_new_report1.png). If I continue the execution, the second method (SaveAsync) eventually gets called, and my Report1.trdp gets overwritten by the new report.

I've also included some details, see 7_new_report1.png.

Thanks in advance,

Arthur

Arthur
Top achievements
Rank 1
Veteran
Iron
 answered on 28 Jun 2022
4 answers
238 views
Hi,
some of our corporate reports have editable text fields where data can be entered into the pdf document and printed (but not saved).
Does Telerik Reporting have this functionality for it's text controls?

Regards
Roger
Todor
Telerik team
 answered on 28 Jun 2022
1 answer
166 views

Hello 

Please find the attached files,  Is there any workaround for this, the numbers in Arabic text always misplaced. This is very important if you are using for certificates.

Culture is set to Default. and i have tried changing the culture but same result.

Can anyone advice, what are the preferable settings for this. 

Thank you.

n/a
Top achievements
Rank 1
Iron
Iron
 answered on 25 Jun 2022
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?