Telerik Forums
Reporting Forum
1 answer
261 views

I am getting an error when attempting to run a WinUI project with the Telerik.ReportViewer.WinUI NuGet package installed.  Project builds without errors, but when I attempt to run the project, I get the following error:

Exception thrown: 'System.IO.FileNotFoundException' in Telerik.ReportViewer.WinUI.Themes.dll

In App.xaml I have added:

<ResourceDictionary Source="ms-appx:///Telerik.ReportViewer.WinUI.Themes/Themes/Generic.xaml"/>

The application target framework is .Net 6.0.  I attempted to following the example projects that were mentioned here.  What am I missing?

I also get the following errors if I add the Telerik.WinUI.Controls (2.0.0) NuGet Package.  The errors are:

PRI175: 0x80073b0f - Processing Resources failed with error: Duplicate Entry.

PRI222: 0x80073b0f - Unspecified error occurred.
Todor
Telerik team
 answered on 20 Jun 2022
2 answers
202 views

Hi,

we have troubles with the excel report creation. We defined a footer with a left, middle and right textbox which renders correctly in a PDF [pdf-Screenshot 2022-06-13 103500.png] but in Excel it renders the left and middle textbox in the left footer in Excel [excel-footer-Screenshot 2022-06-13 103646.png]. Additionally the height of the footer seems to be wrong because the margins won't be setup correctly [excel-height-Screenshot 2022-06-13 103622.png].

This is the code we use to create the reports:


        private static byte[] Render(ReportFormat format, ReportData values)
        {
            var serializerSettings = new JsonSerializerSettings
            {
                ContractResolver = new CamelCasePropertyNamesContractResolver()
            };

            var jsonValues = JsonConvert.SerializeObject(values, serializerSettings);
            var reportPath = Configuration.AppSettings.Read("ReportPath");
            var uriReportSource = new UriReportSource
            {
                Uri = reportPath,
            };
            uriReportSource.Parameters.Add("Parameter1", jsonValues);
            var r = new ReportProcessor();

            var formatString = format switch
            {
                ReportFormat.Excel => "XLSX",
                ReportFormat.Pdf   => "PDF"
            };

            var result = r.RenderReport(formatString, uriReportSource, new Hashtable());
            return result.DocumentBytes;
        }

Greetings

Jan



Jan
Top achievements
Rank 1
Iron
 answered on 20 Jun 2022
9 answers
612 views
in my DB, I have submit date & Due Date field.  I added a textbox & I try to calculate the past due date but it throw me an error
can someone help me with this?

= Fields.Date - Fields.[DueDate]  (I got error here)
Doors
Top achievements
Rank 2
Iron
 answered on 16 Jun 2022
2 answers
99 views

Greetings,

I  was wondering whether this is a feature request or something the map control can already do.

Is it not possible on large datasets for the map to cluster data points together and show a clustered total marker?

The map already seems to have implemented many of the underlying features (grouping, varying bubble sizes etc) so a "clustered bubble" displaying a total would have been ideal and not make the map too cluttered, especially if illustrated on a tiled background.

If its already possible, some sample code would be highly appreciated.

Thanks

 


Yemo
Top achievements
Rank 1
Iron
 answered on 13 Jun 2022
0 answers
142 views

Hi,

we want to open a custom windows application with the Navigate to URL action. The protocol is neither "http" nor "https" it is "profile". So the link we want to navigate to looks like this: "profile://hostname/db(tenant)/Parts(1)". This seems to work perfectly fine if we render it to an Excel file but won't open anything if we render it to a PDF.

Greetings
Jan

Jan
Top achievements
Rank 1
Iron
 asked on 13 Jun 2022
1 answer
2.2K+ views

Hi, i need open .trdp file inside visual studio (ScreenShot) for use "Object Datasource"

In normal mode i click on .trdp file run "Reporting Designer" Out of the visual studio

How to open .trdp file inside visual studio ?

 

Telerik_Reporting_R2-2022 16.1.22.511

Visual Studio 2022

 

thank you

Dimitar
Telerik team
 answered on 13 Jun 2022
2 answers
78 views

Hi Reporting team,

I would like to reduce the number of makers (basically I would display the makers only in the first, last, max and min values) . However, I don't want to simplify the data because that make change on the shape of line.

Would you please help me a solution to modify the display of makers? 

 

minh
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 10 Jun 2022
1 answer
567 views

Hello,

We are currently running a visual basic asp application for a client that is reliant on a previous Telerik version.

Would it be possible for us to get the installer for this specific version?

 

The version in question:

https://www.telerik.com/support/whats-new/reporting/release-history/telerik-reporting-r1-2018-sp3-12-0-18-416

Milena
Telerik team
 answered on 09 Jun 2022
2 answers
1.2K+ views

Hi

I'm new to Telerik reporting so may have some silly questions :-)

What do i want?

In a Blazor application a Wizard runs for selecting and filling in Parameters for a specific report.

These parameters are send to the restserver as Json.

These parameters influence the dataset behind the report, so the "WHERE" clause of the sql.

Then i need to show the report with the updated sql

Should not be any problem i think

I also wants to show some of the parameters  on the report like the selected start/end dates from the wizard. 

is that possible without haveing these as fields of the sql output?

Thanks for answering

 

Paul
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 07 Jun 2022
1 answer
117 views

Hi

We want our consulting team to create custom reports for our customers.

It works like this:

- In our program the user uses a wizard to create a dataset , this query is saved in the database and can be exported to excel

- now the consultant should be able to use the excel to create a report

- the report file will be placed in a specific folder of the client

- the rest server scans the report folder and sends Json the user to show a list of reports

- if the report is selected, the reports should use the dataset (not the excel) to run the report

- so we have to switch the datasource of the report from excel to the dataset

Is this all possible?

Thanks for answering!

Eric

Todor
Telerik team
 answered on 06 Jun 2022
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?