Telerik Forums
Reporting Forum
3 answers
394 views
Enhancement suggestion on Telerik Reporting:
    Add "Color Palette" to list of components available on your "Telerik Reporting" components. Then developers could create their custom color palette and then in the graph control among others, allow selecting from the Color Palettes components on the report.
    Currently I have to go into the generated code section of the designer.cs and set my custom color palette for more colors (more than the examples that you provide) with
           
colorPalette8.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(255)))), ((int)(((byte)(0))))));<br>            colorPalette8.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(92)))), ((int)(((byte)(25)))), ((int)(((byte)(18))))));<br>            colorPalette8.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(194)))), ((int)(((byte)(46)))), ((int)(((byte)(10))))));<br>            colorPalette8.Colors.Add(System.Drawing.Color.Red);<br>            colorPalette8.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(177)))), ((int)(((byte)(90)))), ((int)(((byte)(40))))));<br>            colorPalette8.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(202)))), ((int)(((byte)(137)))), ((int)(((byte)(104))))));<br>            colorPalette8.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(211)))), ((int)(((byte)(191)))), ((int)(((byte)(105))))));<br>            colorPalette8.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(137)))), ((int)(((byte)(203)))), ((int)(((byte)(42))))));<br>            colorPalette8.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(33)))), ((int)(((byte)(180)))), ((int)(((byte)(114))))));<br>            colorPalette8.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(21)))), ((int)(((byte)(198)))), ((int)(((byte)(198))))));<br>            colorPalette8.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(105)))), ((int)(((byte)(104))))));<br>            colorPalette8.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(248)))), ((int)(((byte)(255))))));<br>            colorPalette8.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(43)))), ((int)(((byte)(226))))));<br>            colorPalette8.Colors.Add(System.Drawing.Color.Magenta);<br>            colorPalette8.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))));<br>            colorPalette8.Colors.Add(System.Drawing.Color.Olive);<br>            colorPalette8.Colors.Add(System.Drawing.Color.PeachPuff);<br>            colorPalette8.Colors.Add(System.Drawing.Color.Blue);<br>            colorPalette8.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))));<br>            colorPalette8.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))));<br>            colorPalette8.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))));<br>            colorPalette8.Colors.Add(System.Drawing.Color.White);

and set the ColorPalette of the graph with the ColorPalette.  I have to do this for each graph control I might have.
Neli
Telerik team
 answered on 31 Aug 2020
6 answers
1.0K+ views

Hi!

How to change colors in the chart? For some reason in my chart only 6 different colors(but 8 sectors, that is, two colors are repeated).

How to fix it? How to change colors in the chart?

Thank you!

Todor
Telerik team
 answered on 31 Aug 2020
1 answer
221 views
Is it possible to read report parameter value from resx?
Silviya
Telerik team
 answered on 31 Aug 2020
3 answers
2.8K+ views

When I Am trying to load the report viewer then it shows the below error .. i am unable to understand 'api/reports/' and 'telerikReportViewerTemplate-html'  where they are located  in my application.

Error loading the report viewer's templates. (Template = http://localhost/MyApplication/api/reports/resources/templates/telerikReportViewerTemplate-html).

Neli
Telerik team
 answered on 31 Aug 2020
1 answer
277 views
I have a report with a parameter of Vendor Number.  Some of these Vendor Numbers have leading zeros such as "004880".  When I run the report and type in this string manually the report works perfect, I get the results I expect.  However, when I pass the parameter through a .net core razor pages website the leading zeros are removed causing the report not to work.  Is there a way to stop the report from removing the leading zeros?
Neli
Telerik team
 answered on 28 Aug 2020
8 answers
959 views
Hi there,

I'd like to display an image dynamically against each row of a table based on the object in the datasource. Is there an existing example of this being done at all please?

Many thanks, Carl
Todor
Telerik team
 answered on 28 Aug 2020
3 answers
878 views

Hi,

I am creating a html page with a Sample report by following the steps mentioned in "Configuring the HTML5 Report Viewer to work with Report Server using Item Templates" using VS 2017. 

When i run the application using VS Code(HTTP-SERVER) or VS 2017, the Report is not rendered in Chrome browser. But the same works in IE 11 and the report displays perfectly without any issue.

PFA; Screenshots attached.

Please advice.

Thanks,

Balaji.V

 

 

 

Silviya
Telerik team
 answered on 28 Aug 2020
2 answers
123 views

Hello,

I am trying to add a Telerik report (.trdp) in my project which has Telerik.UI.for.AspNet.Mvc5 version ="2019.2.619" installed. But every time i try to use Telerik MVC Report Viewer View R2 2020 and add a report, it reverts to version="2017.2.504".. I also tried updating the version through the nuget package manager but it only shows me one version which is the 2017 one.. May I know what is causing this?

 

Aaron
Top achievements
Rank 1
 answered on 27 Aug 2020
1 answer
132 views

I am working on a report that is in landscape for the data.  How do I put the page header and footer on the left and right of the page.

When the pages are printed they get punched on the left side of the page as if the report was printed in portrait.

 

F  |  --- Report Data --- | H

O  |  --- Report Data --- | E

O  |  --- Report Data --- | A

T  |  --- Report Data --- | D

E  |  --- Report Data --- | E

R  |  --- Report Data --- | R

 

Thanks.

 

Silviya
Telerik team
 answered on 26 Aug 2020
3 answers
867 views

I am setting the value of Html Textbox like below :

<img src="data:image/png;base64........" />

but the telerik report is showing blank white page instead of the image.

Is telerik report interprets image tag? or we can achieve that.

 

thanks.

Neli
Telerik team
 answered on 21 Aug 2020
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?