Telerik Forums
Reporting Forum
27 answers
703 views
> Does Telerik have the capability of Ad Hoc Query Building / Report Making in real time, on the fly from the front end GUI?

> Like is possible with the software available at this link

Akshay.
Milen | Product Manager @DX
Telerik team
 answered on 28 Mar 2018
7 answers
1.6K+ views
Hello,
I have a function that will return my dataSource to telerik report. 
But i have some doughs? 

See the above sample 
public class dataSourceObj 
    public string Name {get; set;} 
    public ComplexType ComplexDto {get; set;} 
}  
 
public class ComplexType  
    public string ComplexTypeName {get; set;} 
    public int id  {get; set;} 
    public List< subType> subTypeList {get; set;} 
 
public class subType 
    public string subTypeName {get; set;} 
    public int id  {get; set;} 
    public int ComplexTypeid  {get; set;} 
 

So if i create a datasource to my report and set some function to return the dataSourceObj class i will see the properties Name, complexType, and inside this one i will see -> ComplexTypeName and id but not subTypeList.

Why this is happening?

Best Regards
Marco Teodoro
Asmaa
Top achievements
Rank 1
 answered on 28 Mar 2018
6 answers
433 views

Hi All,

Please bear with me, as I am new to this :).

 

I am developing a WindowsForm C# application using Telerik controls and I have progressed far enough that I am needing to now do the reports section.

1. Is there a video tutorial to go through on how to create Reports?
2. Some of my reports are essentially a form that I just fill data into, can I use Reporting for this too?
3. The data I generate on the fly, there is no configured data source binding within the WindowsForm application.
4. I generally have a "print to screen" button to display the data in a popup window and then I can generate the report from this popup (or just print it directly without the popup - would it be better to create the report and use a viewer to show it for the "print to screen" option.
5. Can the reports be exported to PDF or other applications?
6. The database is a Microsoft SQL database.

 

Can someone please guide me in the right direction?

 

Thanks in advance.

Damien

 

Todor
Telerik team
 answered on 27 Mar 2018
3 answers
279 views
Hello,

Is it possible, that a Report Table which is bound to a
objectDataSource
in case the Method returns count 0 items, that the whole table is invisible? (SubReport)


I also have a problem, when
objectDataSource
gets count 0, I get and error in the report, I would love, that the binding would not take part in this case and return an empty report?

Thanks a lot!
Silviya
Telerik team
 answered on 27 Mar 2018
1 answer
210 views
I know Count is supposed to return a count of non-null items. But is there an easy way to return the number of null or empty cells in a column containing dates?
Todor
Telerik team
 answered on 23 Mar 2018
1 answer
250 views

I actually have 2 issues, both related to having a section (group footer) print at bottom of page = True.

1. If you have a table in your group header, and that table has the option to repeat column headers on each page, the group footer does not actually print at the bottom anymore.

To resolve this, I have created 2 groups and put the table in the second header group.

 

2. I have 2 group headers (due to issue 1 above), when the group footer won't fit on the page but the table did fit on the first page completely, the group footer does not print on the 2nd page at the bottom any more.

 

So to summarize, when using the option to have your group footers print on the bottom of the page, if your group header also contains a table that has the repeat column headers on each page = TRUE, the Group footer will not print at the bottom.

And, if your table fits on page 1 but the footer does not, on page 2....the group footer does not print on the bottom of the page as per the property setting.

 

Thanks,

 

Katia
Telerik team
 answered on 23 Mar 2018
1 answer
116 views

I have an application that prints images using Telerik Reporting and the Telerik.Reporting.PictureBox.  Some of these images are very old images and I am getting an error with the Telerik.Reporting.PictureBox when opening the image (a generic error occurred in GDI+).  Funny thing, is these images (all tiff images) display in the default Windows Form PictureBox control on a form.  With that said, what I would like to do, is to run the report and see a list of images that have an issue in the Telerik.Reporting.PictureBox.  The data source only has two fields, the image data and the PrimaryKey to the image.  I have tried using the reports "ERROR" event, which works in getting the error from the Telerik.Reporting.PictureBox, however, I don't know how to find out what record pointer the report is looking at so I can get the correct Primary Key value.  Can anyone help me with this.

 

TIA

Mark

Todor
Telerik team
 answered on 22 Mar 2018
6 answers
574 views
Hi,
I load text dynamically to the pagehader section, but I don't know how much text there is.
When there is a lot of text it hides behind the detail section.
Is there a property or a way to make the pageheader to autogrow in height depending on the amount of text or how can it be solved?

Regards,
Mattias
Katia
Telerik team
 answered on 22 Mar 2018
5 answers
150 views

Hi,

I'm within an MVC project, and I'd like to generate a PDF with the data contained into my Model. So I've created a Report using Telerik Reporting, and now I'd like to link it with my MVC Model.

The render is easy:

ReportRegistration reportRegistration = new ReportRegistration();
string fileName = @"C:\ReportRegistration.pdf";
 
ReportProcessor reportProcessor = new ReportProcessor();
Telerik.Reporting.InstanceReportSource instanceReportSource = new Telerik.Reporting.InstanceReportSource();
instanceReportSource.ReportDocument = reportRegistration;
RenderingResult result = reportProcessor.RenderReport("PDF", instanceReportSource, null);
 
using (FileStream fs = new FileStream(fileName, FileMode.Create))
{
    fs.Write(result.DocumentBytes, 0, result.DocumentBytes.Length);
}

 

but how do I bind data in that model to the designer? For example, in Attach the Designer I have. I'd like to use the data inside BusinessName member variabile inside my Model. Tried ObjectDataResorce but when I double click, Visual Studio crash.

Thanks

Marco
Top achievements
Rank 1
 answered on 22 Mar 2018
1 answer
130 views

Hello,

I'm a little new on Telerik Reporting, but I have a big issue. I try to make a simple calculation of a field to result a TOTAL sum... but instead of SUM i recive a kind of CONCATENATE of my cells

 

Picture below:

 

 

Brian
Top achievements
Rank 1
 answered on 20 Mar 2018
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?