Telerik Forums
Reporting Forum
7 answers
581 views

Hi all,

I have a following default code in a html file for a web designer.

$(document).ready(function () {
            $("#webReportDesigner").telerik_WebReportDesigner({
                persistSession: false,
                toolboxArea: {
                    layout: "list"
                },
                serviceUrl: "some url",
                report: "some_report_name",
            }).data("telerik_WebDesigner");
        });

I have also a custom report storage implemented from IDefinitionStorage, where I have a GetDefinition("some_report_name") method implemented in a custom way. In order to do that, I need to send additional parameters from a web designer (html code provided previously) but don't know how to do that. 

For example, I need to open SalesInvoice.trdx file and I do a following: report: "SalesInvoice.trdx". If i need to send additional parameter, let's say some kind of token, there is no good place to send it. As a work around, i am doing report: "SalesInvoice.trdx&token=123". The problem with this, it is appearing in a title of a web designer and I don't want that. In an attachments, there is a screenshot where it looks good with a simple name and the one which has a token in it.

So, the question is, can I send other parameters as well from a client side of web designer to the server like parameters or so?

In a HTML5 ReportViewer we can send report file name and parameters as a reportSource like this:

                    serviceUrl: serviceUrl,
                    reportSource: {
                        report: reportUrl,
                        parameters: reportParams,

Can we do the same? Or how can I do that?

 

Thanks, 

Dimitar
Telerik team
 answered on 14 Jul 2022
1 answer
217 views

Dear Sir

i have a  Net 5  Blazor app with Server and Client how to add blazor reporting with this scenario? 

actually how to apply this example  with balzor page and blazor report viewer 

https://docs.telerik.com/reporting/embedding-reports/display-reports-in-applications/web-application/html5-report-viewer/how-to-use-html5-report-viewer-in-an-asp.net-core-in-.net-5-application

1 answer
172 views

Hi Team,

We are using Telerik reports for generating reports. We have template and data. We were using Telerik Reporting version 11.2 for FileStorage cache. We upgraded the version to 11.6 with SQL server cache. With the latest version, we can see the tempate but not data in the report.

Please let me know for any further details.

 

Thanks,

Nagendra Penumalli

Dimitar
Telerik team
 answered on 13 Jul 2022
1 answer
249 views

Is there a way to decrease the time in between "info" polling while waiting for a report to process? Today it takes 2+ seconds consistently between "info" requests to the server (highlighted in yellow below). We'd like reports to display in as little time as possible. The server responds in 0.1 seconds, I'd like to see the interval set to .5 or .25.

On a side note, we are getting 405 errors on the "sessionTimeout" requests. Also, it looks like the report viewer is making the "client" request twice.

Dimitar
Telerik team
 answered on 13 Jul 2022
0 answers
222 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
128 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
94 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
188 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
341 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
201 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
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?