Telerik Forums
Reporting Forum
1 answer
115 views

This expression does not work (it should).


=SUM(IIf(Fields.Grade In("07","08","09","18"), Fields.[Total Cost],0))

I can do individual SUM(IIf()) statements for each IS operator, but that is big and clunky. What am I doing wrong?
Todor
Telerik team
 answered on 06 May 2021
1 answer
285 views

Is there a report source that works with reports hosted on Telerik Report Server?

We need to develop a service that prints reports directly to a printer and want to host the report in the report server for easy maintenance.

I see report viewers have a ReportEngineConnection property, but I could not find anything like this for report source. 

Am I missing something, or has this not been implemented to print reports with the ReportProcessor?

The closest thing I see is the UriReportSource, but this requires a trdp file to be included in the project output.

Todor
Telerik team
 answered on 05 May 2021
0 answers
828 views

Hi sir,

 

                I create dynamic report in that i  use four column create dynamic one of the columns contain 100 and above character . i use text wrap as true.

like this come

 

with text wrap as false.

 Dim detailsTxt As New Telerik.Reporting.TextBox
                detailsTxt.Size = New SizeU(Unit.Inch(col.ColumnName.Length), Unit.Inch(0.2))
                detailsTxt.Location = New Drawing.PointU(Unit.Inch(iniLeft), Unit.Inch(0.01))
                detailsTxt.Style.Font.Size = New Unit(10)
                detailsTxt.Style.VerticalAlign = VerticalAlign.Middle
                detailsTxt.Style.TextAlign = HorizontalAlign.Left
                detailsTxt.TextWrap = False
                detailsTxt.StyleName = "Data"
                detailsTxt.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid
                detailsTxt.CanGrow = True
                detailsTxt.KeepTogether = True
                detailsTxt.Multiline = True
                ' detailsTxt.Format = Format("{0:n}")



                detailsTxt.Value = "=Fields.[" + col.ColumnName.ToString & "]"



                detail.Items.Add(detailsTxt)

 

how to show all column same  size, an d show all character with in text box size

like this

please give some solution.

M Kumar
Top achievements
Rank 1
Iron
Veteran
 asked on 05 May 2021
4 answers
158 views

Hi, Dear Support :

     I am using the new version HTML5 ReportViewer (version 15) in .net core 3.1. 

     I mark my row group as document map point , then the document map work fine when the report first render.

     Then I  zoom out or in the report , the document map NOT  Navigate to the right report position。

     does it  work as design ? or something or cfg need to be set ?

 

Best Regard!

 

louis chan
Top achievements
Rank 1
Iron
 answered on 30 Apr 2021
1 answer
278 views

Hi,

We are using the Telerik angular reportviewer (11.20.916 and api:v14.2.20.916 .net core 3.1.12)

In the report we are making use of a multiselect combobox.

The reportviewer is initiated with the parameters:  editors: {
            singleSelect: 'COMBO_BOX',
            multiSelect: 'COMBO_BOX'
        }

The result looks like the attachment 1 (as expected because of the COMBO_BOX style).

But we want t have it more like in the style of the designer (attachment2)
How can we achieve this?

Regards,

Bart

  
Dimitar
Telerik team
 answered on 29 Apr 2021
1 answer
341 views

How to add more space on the Y axis at the minimum value and at the maximum value so that the line and the data points look good in the line chart?

 

Hope you can help!

Todor
Telerik team
 answered on 29 Apr 2021
2 answers
535 views

I follow this post to setup report designer: https://docs.telerik.com/reporting/web-report-designer-setup-in-dot-net-framework
- Create a WebApi project.

- Add references to Telerik.Reporting.dll, Telerik.Reporting.Services.WebApi.dll, Telerik.WebReportDesigner.Services.dll (they are in C:\Program Files (x86)\Progress\Telerik Reporting R1 2021\Bin)

- Register routes in Global.asax

- Create controller that inherit ReportDesignerControllerBase

- Create view to display report designer

The error I got is the REST service have invalid routes. So when the view request for api/reportdesigner/resources/js/telerikReportViewer it return 404 error.

When I go to Help section of the WebApi project, I see the route table for the report controller is like this (see attachment)

Do anyone know why does this happen and how I can fix?

Thanks in advance!

Kaloyan
Telerik team
 updated answer on 29 Apr 2021
1 answer
143 views

Hello, we are trying to upgrade from telerik reporting 2017.R3 => 2021.R1 and are running across some wierd functionality. In the 2021 version the generated pdf has incorrect subdata (nothing other than the version has changed.)

I've attached a full sample that illustrates the issue.  You can run both the Works and Borked project to see the generated pdfs.

Do we need to change something in our code for this to work properly?

 

Thanks!

(Apparently i'm not allowed to attach zip files.  Please let me know how to pass along the sample projects to you.)

Todor
Telerik team
 answered on 28 Apr 2021
0 answers
222 views

Hello,

We have Float type parameter in our report. Default value of the parameter is zero. When we preview this report on Standalone Designer it works fine (see WhenRunningOnStandaloneReportDesigner.PNG), but when we preview this report on Html5 Report Viewer it shows error (see ErrorWhenRunningOnHtml5ReportViewer.PNG, Internal Server Error
Invalid value for parameter 'FloatParameter')

To reproduce this problem we used "CSharp.Net5.Html5IntegrationDemo" project and created sample report (this report is in attached archive file SampleReportToTestFloatTypeParameter.zip). So, we want that it should not show error when we run the report on html5 report viewer.

Is there any solution for this?

 

Tursunkhuja
Top achievements
Rank 2
Iron
Iron
Veteran
 asked on 28 Apr 2021
0 answers
141 views

Hello,

I'm  using Telerik Reporting version 15.0.21.326 and WPF report viewer with REST services. When my custom report source resolver return null or custom exception I have exception "Object reference not set to an instance of an object" with stack trace:

at Telerik.ReportViewer.Common.RestServiceProxyEngine.<>c.<GetParameters>b__14_0(JsonExceptionData ex)
at Telerik.Reporting.Services.HttpClient.HttpRequestHelper.PostJson[T](String request, HttpClient client, Object value, Func`2 getDefaultValue, IEnumerable`1 formatters)
at Telerik.Reporting.Services.HttpClient.GenericHttpClient.<>c__DisplayClass13_0`1.<PostJson>b__0(HttpClient client)
at Telerik.Reporting.Services.HttpClient.LocalLoginSession.MakeRequest[T](Func`2 action)
at Telerik.Reporting.Services.HttpClient.GenericHttpClient.PostJson[TResult](String action, Object value, Func`2 getDefaultValue, IEnumerable`1 formatters)
at Telerik.Reporting.Services.HttpClient.GenericHttpClient.PostJson[TResult](String action, Object value, Func`2 getDefaultValue, Boolean ignoreSerializableAttribute)
at Telerik.ReportViewer.Common.RestServiceProxyEngine.GetParameters(String clientID, String report, Dictionary`2 parameterValues)
at Telerik.ReportViewer.Common.ReportEngineRenderingController.GetParameters(ParameterCollection paramValues)
at Telerik.ReportViewer.Wpf.ReportViewerModel.ReloadParameters(IRenderingController controller)
at Telerik.ReportViewer.Wpf.ReportViewerModel.RefreshController(Boolean reloadParameters)
at Telerik.ReportViewer.Wpf.ReportViewerModel.RefreshReportCore(Boolean reloadParameters, LogHistoryRecord logHistory) 

Aleksey
Top achievements
Rank 1
Veteran
Iron
 asked on 28 Apr 2021
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?