Telerik Forums
Reporting Forum
1 answer
172 views

Hi

I have a license for Telerik Reporting.

I am the only developer and wish to add Reporting to another PC.  Could you please tell me whether both Visual Studios will be able to produce licenced output for our hosted web service?  

Many thanks,

Colin

Todor
Telerik team
 answered on 25 May 2022
1 answer
143 views

Hello,

I have an issue on a project where a report printed from wpf report viewer is never printer for certain users.

My investigations so far :

- The same report is exported to pdf and printed on the same printer without issue (that's the current solution for users)

- The same report is printed without issue on my printer

The report gets sent to the printer queue but nothing comes out of the printer, so I ended up thinking about the document name in the printer queue generated by TelerikReporting. This Document Name is very long and I think this might be the issue for some printers, this document seems to be generated from the typename of the list of ReportParameters (see the attached picture). Is it possible to change this name to something shorter ? I tried using the DocumentName property in the ReportDesigner on my trdp file but it did not change the name in the printer queue.

Otherwise did anybody encountered this kind of issue with printing ?

Thanks

Todor
Telerik team
 answered on 25 May 2022
0 answers
218 views

I have the following VB.Net class library as a dll, containing the function with a given namespace:

Imports Telerik.Reporting.Expressions

Public Class ReportExtensions
    <[Function](Category:="Report Extended Functions", [Namespace]:="ReportExtensions", Description:="Returns a string that was given to the function")>
    Public Function TestFunc(str As String) As String
        Return str
    End Function
End Class

 

Here is the location of the dll:

 

And my config file:

<?xml version ="1.0"?>
<configuration>
	<configSections>
		<section
			name="Telerik.Reporting"
			type="Telerik.Reporting.Configuration.ReportingConfigurationSection, Telerik.Reporting, Version=15.1.21.616, Culture=en-AU, PublicKeyToken=a9d7983dfcc261be"
			allowLocation="true"
			allowDefinition="Everywhere"/>

		<section
			name="Telerik.ReportDesigner"
			type="Telerik.ReportDesigner.Configuration.ReportDesignerConfigurationSection, Telerik.ReportDesigner.Configuration"
			allowLocation="true"
			allowDefinition="Everywhere"/>    
	</configSections>

	<startup>
		<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
	</startup>

	<runtime>
		<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
		  <!--
		  <probing privatePath="path-to-the-assemblies"/>
		  -->
		  <dependentAssembly>
			<!-- Required for interoperability with older versions of Telerik Reporting -->
			<assemblyIdentity name="Telerik.Reporting" culture="neutral" publicKeyToken="a9d7983dfcc261be"/>
			<bindingRedirect oldVersion="0.0.0.0-15.1.21.616" newVersion="15.1.21.616"/>
		  </dependentAssembly>
		</assemblyBinding>
	</runtime>
  
    <Telerik.ReportDesigner DefaultWorkingDir="Examples">
    </Telerik.ReportDesigner>

	<!-- Add assembly references -->
	<Telerik.Reporting>
		<AssemblyReferences>
			<add name="ReportDesignerExtensions" version="1.0.0.0" culture="en-AU" publicKeyToken="null" />
		</AssemblyReferences>
	</Telerik.Reporting>
</configuration>

 

Here is a simple expression on a textbox on the Standalone Report Designer (also I cannot physically find my function declared in the editor window, I just have to type in the exact name):

 

The function should simply return "asd", but for some reason I see nothing when previewing the report. The textbox below works as expected.

What am I missing?


I've followed steps from Issue with User defined function in ReportViewer in Reporting | Telerik Forums and Preview report definition, which uses an external assembly with user-defined functions or CLR objects | Telerik Reporting, to no avail.

Chris
Top achievements
Rank 1
Iron
 updated question on 24 May 2022
0 answers
247 views

I am using the Standalone Report Designer and I need to be able to set a graph's bar series' (for example) ColorPalette based on an external UserFunction in an assembly (dll) that is referenced in the config.

So far I was able to set this in the Bindings property for the graph itself:

However, I'm not sure if this is working as I expected since the graph's series does not change colors according to the UserFunction (I followed steps from this and this and this and this).

I would have thought a graph's Series > BarSeries1 would have a "Bindings" property, but it doesn't.

Inside the Series > BarSeries is the ColorPalette property, and initially I have manually added a bunch of colors.

However, there is no way here to set an expression to the "Colors" collection.

I would have thought the Bindings I set for the graph would flow into here, but I think it's only applicable to the Graph's colors -- the Series would be separate from it, thus no changes taking effect.

Is there any way to set a graph's bar series' ColorPalette to an expression?

Chris
Top achievements
Rank 1
Iron
 updated question on 24 May 2022
0 answers
148 views

I have an ASP.Net Core 5 application running in Azure.  It has a Telerik report developed with the standalone developer.

I am able to run the production Azure report, downloading the created pdf report from my laptop using Chrome and Edge browsers, as well as an Android tablet.

The users are able to execute all functions with exception of creating the report.  One person was using Safari on a Mac and a second using the Chrome browser on a Microsoft Surface.

Can anyone suggest what could be causing the problem?

 

Thanks

Taras
Top achievements
Rank 3
Iron
Iron
Veteran
 asked on 23 May 2022
0 answers
628 views
I have setup the NuGet source and shown in other pages I have found, but I only see trial versions and not the non-trial versions. Once I downloaded the Telerik.Reporting from the website and installed it but that did not change anything. How do I get the non-trial version to show in my NuGet?
Andy Grimes
Top achievements
Rank 1
 asked on 23 May 2022
1 answer
573 views

Hello,

We upgraded our ASP .NET WebAPI application to use Telerik Reporting 15.1.21.616.

How do we figure out what would be the right version for this on the Angular side.

Right no, for example it is:

"@progress/telerik-angular-report-viewer": "3.18.125"

And the corresponding version for this on Web API side was: 12.0.18.125

I can see the last two do match (18.125).

Any list of matching versions somewhere in documentation?

Thanks,

Noor

Dimitar
Telerik team
 answered on 23 May 2022
0 answers
142 views
some more column is moving to the next page in the same table
Khadeer
Top achievements
Rank 1
 asked on 23 May 2022
1 answer
381 views

Hello,

I am trying to refresh the dataset at the Data Explorer window of the Report Designer so that it reflects the changes made to the database on the tables and views used as the data source for the report.

But it does not work. I can only see the new fields if I create a new data connection for the same tables/views.

What should be the rigth way to reflect the changes in the database to the report?

Regards,

Alexandre

Alexandre
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 21 May 2022
1 answer
988 views

We are trying to create a single report page that can handle a number of reports as opposed to 100's of pages to accomodate 100's of reports. We are doing this by dynamically setting the report. We can successfully do that and any parameter values. But we cannot successfully dynamically define the paramters.

I'm going off of this documentation page (the code below is directly from that): https://docs.telerik.com/reporting/html5-report-viewer-howto-use-it-with-reportserver

We are able to dynamically select the report and dynamically set the parameter value. However, we are unable to set the parameter itself dynamically. In the example below the parameter is ReportYear

$("#reportViewer1")
  .telerik_ReportViewer({
    reportServer: {url: "http://yourReportServerUrl:port", username: null, password: null},
      reportSource: {
        report: "Samples/Dashboard" //WE CAN MAKE THE REPORT DYNAMIC TOO
        parameters: {
          ReportYear: 2004 //WE CAN MAKE 2004 A VARIABLE BUT ReportYear has to be hard coded in
        }
      }
  });


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?