I'm looking at an alternative to Crystal Reports and I'm down to two choices: Telerik or DevExpress.
To be honest, I really like Telerik on the whole a lot more, especially with the WinForms controls but if I can't get this simple task by today I can't look past it. I have an application that reads data from mixed xml sources, processes the data in a list of classes and prints out a report. Nothing fancy, no drill-downs, just as if they were datarows.
So basically the class would look like:
As it's computing, it puts it into a List<MyDataClass> that gets stored until it's ready. The data source wizard detects it once I put in [DataObject] attribute on the class. From here, both Crystal Reports and DevExpress can easily be hooked up to the list of objects easily. Once it knows the type definition, I can set the datasource property to the list and it works.
But I cannot for the life of me find a simple or straightforward way to do this in Telerik. Since there are 12 types of classes I'm processing, do I need to create 12 generic collections that each implement IEnumerable? And then where do I hook in my actual instance of data? Am I misunderstanding the terminology that Telerik Reporting is using? Datasource is usually literally the source of the data. But in the documentation, it appears to be used as the data definition.
This is simple stuff, but I haven't found any simple answer. The demo page just shows a video, but doesn't show the code behind (unless I missed it). Sure, the demo is great for showing what it can do, but it's incomplete in telling us how. I'm running out of time before I need to give a verdict because it's going to be used to replace a lot of tools we currently use.
To be honest, I really like Telerik on the whole a lot more, especially with the WinForms controls but if I can't get this simple task by today I can't look past it. I have an application that reads data from mixed xml sources, processes the data in a list of classes and prints out a report. Nothing fancy, no drill-downs, just as if they were datarows.
So basically the class would look like:
public
class
MyDataClass
{
public
int
MyInt {
get
;
set
; }
public
string
MyString {
get
;
set
; }
public
DateTime MyDate {
get
;
set
; }
public
MyDataClass()
{
}
}
As it's computing, it puts it into a List<MyDataClass> that gets stored until it's ready. The data source wizard detects it once I put in [DataObject] attribute on the class. From here, both Crystal Reports and DevExpress can easily be hooked up to the list of objects easily. Once it knows the type definition, I can set the datasource property to the list and it works.
But I cannot for the life of me find a simple or straightforward way to do this in Telerik. Since there are 12 types of classes I'm processing, do I need to create 12 generic collections that each implement IEnumerable? And then where do I hook in my actual instance of data? Am I misunderstanding the terminology that Telerik Reporting is using? Datasource is usually literally the source of the data. But in the documentation, it appears to be used as the data definition.
This is simple stuff, but I haven't found any simple answer. The demo page just shows a video, but doesn't show the code behind (unless I missed it). Sure, the demo is great for showing what it can do, but it's incomplete in telling us how. I'm running out of time before I need to give a verdict because it's going to be used to replace a lot of tools we currently use.