WPF Reporting
-
- Output data to Excel (use ClosedML from codeplex) 2) Tell users to go wild colouring in the resulting spreadsheet however they like
Duncan Edwards Jones wrote:
colouring in the resulting spreadsheet however they like
Because we all know that users just want colorful reports with lots of bling. Fuck the data, show me the color. :)
-
If all the report contained was columns of raw text, then sure, this would work. But back to the real world... my report has a lot more content, so no, looping over data and replacing text is not an option.
If it's not broken, fix it until it is
Ok. Only you can decide what is the correct method for you. Good luck. Report tools all suck at some level.
-
Ok. Only you can decide what is the correct method for you. Good luck. Report tools all suck at some level.
Slacker007 wrote:
Report tools all suck at some level.
Ain't that the truth.
If it's not broken, fix it until it is
-
I posted a question [^]about WPF reporting. I got a few answers and I've been looking at them. 1) I've decided against Telerik after their Tech Support told their report suit only works if you purchase their Control suite also. 2) Infragists... NO! Used their crap in the past and I won't go back. Besides, I can't find a demo to try. Not a same to run... a demo I can download and work with. 3) CodeReason[^]... Looks promsing, but I downloaded it and I don't see any kind of designer(????) 4) Crysal Report....20 years ago they were great. $hit now. This got me thinking... what happened to the days of easy reporting. It used to be simple. Is it just me or has reporting gotten REALLYL complicated?
If it's not broken, fix it until it is
Kevin Marois wrote:
Crysal Report....20 years ago they were great. $hit now.
No, they were $hit then, too.
Will Rogers never met me.
-
Kevin Marois wrote:
Is it just me or has reporting gotten REALLYL complicated?
..take a text-file, write a method that replaces text, loop the dataset and replace the placeholders in the text-file with values, and you're done. Add some HTML, and presto, reports you can view with any "device". Add your background and all the other markup as CSS. It does not have to be complicated. If you are to sell that reporting-solution to someone else, then it has to sound complicated. Otherwise, they would simply take a text-file, write a method..
Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]
Or, you could go a bit further and re-use ASP.NET MVC's Razor: https://github.com/AlexCuse/RazorReport[^]
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
-
COBOL? HAHAHA Thanks, I needed a laugh.
If it's not broken, fix it until it is
COBOL lives.
cheers Chris Maunder
-
COBOL lives.
cheers Chris Maunder
Chris Maunder wrote:
COBOL lives.
... in someone's mind.
If it's not broken, fix it until it is
-
I posted a question [^]about WPF reporting. I got a few answers and I've been looking at them. 1) I've decided against Telerik after their Tech Support told their report suit only works if you purchase their Control suite also. 2) Infragists... NO! Used their crap in the past and I won't go back. Besides, I can't find a demo to try. Not a same to run... a demo I can download and work with. 3) CodeReason[^]... Looks promsing, but I downloaded it and I don't see any kind of designer(????) 4) Crysal Report....20 years ago they were great. $hit now. This got me thinking... what happened to the days of easy reporting. It used to be simple. Is it just me or has reporting gotten REALLYL complicated?
If it's not broken, fix it until it is
Have you looked at using RDLC? It's baked into Visual Studio, and apparently there's a ReportViewer that you can use with WPF. http://msdn.microsoft.com/en-us/library/hh273267.aspx[^] I'm using it with great success in an ASP.NET MVC app.
Jon Sagara Some see the glass as half-empty, some see the glass as half-full. I see the glass as too big. -- George Carlin Blog | Twitter | Articles
-
I posted a question [^]about WPF reporting. I got a few answers and I've been looking at them. 1) I've decided against Telerik after their Tech Support told their report suit only works if you purchase their Control suite also. 2) Infragists... NO! Used their crap in the past and I won't go back. Besides, I can't find a demo to try. Not a same to run... a demo I can download and work with. 3) CodeReason[^]... Looks promsing, but I downloaded it and I don't see any kind of designer(????) 4) Crysal Report....20 years ago they were great. $hit now. This got me thinking... what happened to the days of easy reporting. It used to be simple. Is it just me or has reporting gotten REALLYL complicated?
If it's not broken, fix it until it is
-
Have you looked at using RDLC? It's baked into Visual Studio, and apparently there's a ReportViewer that you can use with WPF. http://msdn.microsoft.com/en-us/library/hh273267.aspx[^] I'm using it with great success in an ASP.NET MVC app.
Jon Sagara Some see the glass as half-empty, some see the glass as half-full. I see the glass as too big. -- George Carlin Blog | Twitter | Articles
Yeah its based on SSRS. Personally I really like it.
-
COBOL lives.
cheers Chris Maunder
Chris Maunder wrote:
COBOL lives.
It scares me to read that coming from you, of all people. Which vital part of codeproject.com does it run?
-
I posted a question [^]about WPF reporting. I got a few answers and I've been looking at them. 1) I've decided against Telerik after their Tech Support told their report suit only works if you purchase their Control suite also. 2) Infragists... NO! Used their crap in the past and I won't go back. Besides, I can't find a demo to try. Not a same to run... a demo I can download and work with. 3) CodeReason[^]... Looks promsing, but I downloaded it and I don't see any kind of designer(????) 4) Crysal Report....20 years ago they were great. $hit now. This got me thinking... what happened to the days of easy reporting. It used to be simple. Is it just me or has reporting gotten REALLYL complicated?
If it's not broken, fix it until it is
-
I posted a question [^]about WPF reporting. I got a few answers and I've been looking at them. 1) I've decided against Telerik after their Tech Support told their report suit only works if you purchase their Control suite also. 2) Infragists... NO! Used their crap in the past and I won't go back. Besides, I can't find a demo to try. Not a same to run... a demo I can download and work with. 3) CodeReason[^]... Looks promsing, but I downloaded it and I don't see any kind of designer(????) 4) Crysal Report....20 years ago they were great. $hit now. This got me thinking... what happened to the days of easy reporting. It used to be simple. Is it just me or has reporting gotten REALLYL complicated?
If it's not broken, fix it until it is
We use SSRS, both the RLD server version and the RDLC embedded in the apps, works well, has a WPF viewer (no Silverlight viewer though). Oh and Roger is correct Crystal Reports were shit 20 years ago as well!
Never underestimate the power of human stupidity RAH
-
Chris Maunder wrote:
COBOL lives.
It scares me to read that coming from you, of all people. Which vital part of codeproject.com does it run?
The really old bit.
cheers Chris Maunder
-
COBOL lives.
cheers Chris Maunder
-
If all the report contained was columns of raw text, then sure, this would work. But back to the real world... my report has a lot more content, so no, looping over data and replacing text is not an option.
If it's not broken, fix it until it is
-
I posted a question [^]about WPF reporting. I got a few answers and I've been looking at them. 1) I've decided against Telerik after their Tech Support told their report suit only works if you purchase their Control suite also. 2) Infragists... NO! Used their crap in the past and I won't go back. Besides, I can't find a demo to try. Not a same to run... a demo I can download and work with. 3) CodeReason[^]... Looks promsing, but I downloaded it and I don't see any kind of designer(????) 4) Crysal Report....20 years ago they were great. $hit now. This got me thinking... what happened to the days of easy reporting. It used to be simple. Is it just me or has reporting gotten REALLYL complicated?
If it's not broken, fix it until it is
-
You know you can print WPF, right? So design your report in WPF, bind, print. Bob's your proverbial Mother's Brother.
PooperPig - Coming Soon
Have you ever created a non-trivial WPF document? It's a tremendous memory hog, and leaks like a sieve. I have an in-house report generator that can create HTML or WPF docs. For a 5MB HTML document, the corresponding WPF doc is 400-500MB. Loading that into a viewer control takes several minutes (consuming 1G or more of memory), which brings the entire application to a screeching, page-faulting halt. The gains from using WPF documents (data binding et al) aren't worth the costs.
Software Zen:
delete this;
-
The really old bit.
cheers Chris Maunder
Visions of a drooling, geriatric hamster, multiple IV's hooked to its body, stumbling on a rusted, urine-encrusted wheel come to mind. Yes, I wanted that picture in my head this morning :sigh:.
Software Zen:
delete this;
-
I posted a question [^]about WPF reporting. I got a few answers and I've been looking at them. 1) I've decided against Telerik after their Tech Support told their report suit only works if you purchase their Control suite also. 2) Infragists... NO! Used their crap in the past and I won't go back. Besides, I can't find a demo to try. Not a same to run... a demo I can download and work with. 3) CodeReason[^]... Looks promsing, but I downloaded it and I don't see any kind of designer(????) 4) Crysal Report....20 years ago they were great. $hit now. This got me thinking... what happened to the days of easy reporting. It used to be simple. Is it just me or has reporting gotten REALLYL complicated?
If it's not broken, fix it until it is
If your reports aren't that complicated, I don't see the problem with generating HTML, as others have suggested. I have an in-house reporting class that uses this approach. It generates HTML for readable documents and XML for import/export, both from the same report specification. While the HTML isn't fancy, that's only limited by your skill at CSS.
Software Zen:
delete this;