Telerik Forums
Reporting Forum
2 answers
946 views

As you can see in the screen shot, I have a table with values, but the one property is a collection of values.

I need to summarize the values in the nested collection in the "Payments" column of the report. If I try to reference the field "PaymentAmount" I get an error "The expression contain object 'PaymentAmount' that is not defined in the current context".

I understand I could add another table inside the field, but that doesn't work well in my case.

Here is my Inline Json Datasource:

{
    "value": [
        {
            "DocNumber": "952",
            "PaymentLinks": [
                {
                    "PaymentAmount": 1000.00
                }
            ]
        },
        {
            "DocNumber": "953",
            "PaymentLinks": []
        },
        {
            "DocNumber": "954",
            "PaymentLinks": [
                {
                    "PaymentAmount": 11.00
                },
                {
                    "PaymentAmount": 12.00
                },
                {
                    "PaymentAmount": 10.00
                }
            ]
        }
    ]
}

 

Tursunkhuja
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 17 Mar 2021
3 answers
409 views
Good day, I am designing a 4 x 6 Label for a Thermal label printer. I have a problem however trying to print this label via the label printer. All the fields get Top left aligned in the print preview. The focus Area for the printer is in the center. How do I get my report centered so that it will fit properly on to the label?
Todor
Telerik team
 answered on 17 Mar 2021
1 answer
234 views

One of the most recent report updates from business side requires me to change report layout to accommodate the following output(picture attached).

 

But since HtmlTextBox does not support embedding of images and PictureBox has to be fixed statically on a page I do not see a way to make the picture box to line up with a text content that is aligned to the right.

Is this possible to achieve by some other means?
 

Mads
Telerik team
 answered on 15 Mar 2021
2 answers
637 views

Hello everyone,

Please, I need a little help with Report Designer. I have 2 fields(Name and CompanyID) and I want to concatenate them. Some rows from column Name are populated with company name and other are blank. All rows from CompanyID are populated with guids. I tried something like {Fields.Name}{Fields.CompanyId}, but all rows which are populated with the company name, also added guids. I want all the rows that are populated with the company name not to add guids, too.

Thanks in Advance!

Marcel
Top achievements
Rank 1
Iron
 answered on 15 Mar 2021
3 answers
329 views

Hello,

I created an invoice template with the standalone report designer and I am able to programmatically export a pdf file.

Is it possible to disable copy / paste functionality in the created pdf file programmatically.

Best regards,

Alex

Alexander
Top achievements
Rank 1
 answered on 12 Mar 2021
6 answers
683 views

Hi..

I'm trying to print on Azure.. get the following error. I've read that you can't use a FREE plan cause it doesn't support GDI+.

I have a standard plan - paying.. but I can't print from the site (on Azure). Works great locally.

Any ideas?  thx

 

System.ArgumentException: Parameter is not valid.   at System.Drawing.Graphics.GetHdc()   at Telerik.Reporting.Pdf.PdfContext..ctor(String ownerPassword, String userPassword) in c:\temp\reporting\RBuild-2657\Reporting_Build\Source\Code\Telerik.Reporting.Pdf\PdfContext.cs:line 36   at Telerik.Reporting.Pdf.PdfDocument.InitCompleted(Stream stream) in c:\temp\reporting\RBuild-2657\Reporting_Build\Source\Code\Telerik.Reporting.Pdf\PdfDocument.cs:line 332   at Telerik.Reporting.ImageRendering.DocumentPdf.CreateDocument(PdfRenderingContext pdfContext) in c:\temp\reporting\RBuild-2657\Reporting_Build\Source\Code\Telerik.Reporting.ImageRendering\DocumentPdf.cs:line 68

Neli
Telerik team
 answered on 11 Mar 2021
5 answers
777 views

I am trying to create a comparative Profit & Loss with columns comparing the previous column with the current column. The Previous() function doesn't allow more than one scope as the Exec() does, but it appears that that is what I need.

As an example I'm using the following csv. See the attachment as well.

Year,Account,Amount
2000,50000,1000.00
2000,51000,560.00
2001,50000,1000.00
2001,51000,560.00
2002,50000,5000.00
2002,51000,60.00
2000,50000,1500.00
2001,51000,500.00

Note that there are two values for Year "2000" and Account "50000"

How can I get the Previous = Exec('year1','account1', Sum(Fields.Amount))?

Todor
Telerik team
 answered on 11 Mar 2021
6 answers
604 views

We are trying to access our own servers using Web Data Source and are having issues with 2 Step Authentication. I have attached the screenshot with this email on how we have set it up, and on final page when we click Download, we get 401 unauthorized.

The same Url and body parameters are working through Postman. I was wondering if you can please help us identify what maybe wrong?

Dimitar
Telerik team
 answered on 11 Mar 2021
10 answers
181 views

Hello,

I would like to create a report where the user has two checkboxes and has the choice to either show or not display a crosstab and/or graph when generating the report.
I am working with Telerik Report Designer with Telerik Reporting REST service and using HTML5 MVC Report Viewer as a report viewer.

 

the management of this need is done when defining the report or I have to add js events handler in my viewer ?

 

Thanks !

Wassim
Top achievements
Rank 1
Veteran
Iron
 answered on 11 Mar 2021
9 answers
131 views
Please I need help with Graph control in Telerik Reporting
I created a new report in blank
I added a graph control
I defined an sqlDataSource with the data what I need
And then? Can you orient me
Mads
Telerik team
 answered on 09 Mar 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?