Telerik Forums
Reporting Forum
1 answer
163 views

Just installed reporting, in VS 2022 vb..net I add a new item Telerik Report R2 2022 (Blank) and the designer opens with the "To prevent possible data loss...' message.

Value cannot be null. Parameter name instance

How do I resolve this error?

 

Kenneth
Top achievements
Rank 2
Iron
 answered on 28 May 2022
0 answers
149 views

Hello,

I have a report bound to a remote SQL Server, and when I try to run it from my developer machine I always get the same error:

I have tried to increase the timeout limit in the database connection but it made no difference.

Also, I am not being able to change connection strings from developer to production at runtime, wich could avoid this situation.

How should I proceed?

Alexandre

 

Alexandre
Top achievements
Rank 2
Iron
Iron
Iron
 asked on 25 May 2022
0 answers
558 views

Hello,

I am trying to create a report with multi line text on a pre printed sheet of paper.

The problem is that I cannot set the line height of text and the result is not good (see the attached screenshot). If I increase the font to match the printed dot lines it looks enormous and still not good.

I tried the htmlTextBox but it does not seem to support style="line-height:1cm"

What are my options?

plig
Top achievements
Rank 1
 asked on 25 May 2022
1 answer
162 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
139 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
215 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
236 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
133 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
613 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
563 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
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?