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;} |
} |
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
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!
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,
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
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
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: