Telerik Forums
Reporting Forum
0 answers
322 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
179 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
675 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
617 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
174 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
432 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
1.0K+ 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
        }
      }
  });


1 answer
606 views

hello.

I have a question about specifying the report source.

 

in razor page code : 

<ReportViewer @ref = "ReportViewer1"
	ReportSource=@@@
	...
>

 

Only ReportSourceOptions were available for ReportSource in the ReportViewer.

Report in ReportSourceOptions can only be fileName with String.

 

What I want is to use UriReportSource to deliver ConnectionString or change DataSource.

Therefore, I would like to use ReportSource instead of fileName.

The document I referred to is as follows.

1. Action NavigateToReport does not work after updating the Connection String dynamically in a Custom Report Resolver

2. Changing Datasource at runtime in Blazor

 

I referred to the second document and thought that using resolver could solve the problem that ReportSourceOption does not receive the ReportSource format.

But the problem still hasn't been solved.


ReportSourceOptions rso = new ReportSourceOptions();
CutsomReportSourceResolver sr = new CustomReportSourceResolver("connectionStrings");
rso = sr.Resolver("Report.trdx", new Dictionary<string, object>{ @@@}); (X)
//OperationOrigin is skip

Please let me know if I used the wrong method.

Additionally, I don't know what Operation Origin is like.

Also I would be grateful if you would give us about operationorigin.

 

thanks.

Dimitar
Telerik team
 answered on 19 May 2022
0 answers
289 views

I can't get any columns to show in the Data Explorer when setting up a SQL Data Source with a command text that calls a SQL TVF function.

My example/test function is as follows:


CREATE OR ALTER FUNCTION dbo.Test(
	@CommaSeparatedValue varchar(max)
)
RETURNS @Items TABLE(
	ItemValue numeric(18,0)
)
AS
BEGIN
	INSERT INTO @Items
	SELECT
		Items.ItemValue
	FROM dbo.StringSplit(@CommaSeparatedValue , ',') Split
	LEFT JOIN Items ON TRY_CAST(Split.[Value] AS numeric(18,0)) = Items.ItemValue
	
	RETURN
END

And my set up for the datasource object:

 

Columns show as expected when querying a table or view, but TVF functions do not seem to work. In Expressions, I cannot see any available Fields.

Chris
Top achievements
Rank 1
Iron
 asked on 19 May 2022
1 answer
136 views
i have an expire License 2016 can i use it with angular 11 or blazor ?
Lance | Senior Manager Technical Support
Telerik team
 answered on 17 May 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?