Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. WPF Reporting

WPF Reporting

Scheduled Pinned Locked Moved The Lounge
questioncsharpwpfcomhelp
47 Posts 26 Posters 4 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Kevin Marois

    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

    G Offline
    G Offline
    Gary Wheeler
    wrote on last edited by
    #34

    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;

    H 1 Reply Last reply
    0
    • G Gary Wheeler

      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;

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #35

      Gary Wheeler wrote:

      Have you ever created a non-trivial WPF document?

      Yes

      Gary Wheeler wrote:

      It's a tremendous memory hog,

      Is it? I can't say I'd noticed - the WPF app I work on is a memory hog much worse in so many other ways, any WPF overhead is trivial by comparison!

      Gary Wheeler wrote:

      leaks like a sieve.

      Interesting - I've been doing some work on fixing memory leaks in our app - none (so far!) has been due to WPF

      Gary Wheeler wrote:

      The gains from using WPF documents (data binding et al) aren't worth the costs.

      with the possible exception of the fact that the OP is using WPF so may well have excellent WPF skills, existing forms and data binding that may suffice for his reporting requirements with perhaps a little tweaking. Personally I'm a fan of exporting data to excel for reporting - let the report users tweak the raw data how they want - and provide templates if necessary HTML is fine for the pretties, but rubbish if users want to play with the data

      PooperPig - Coming Soon

      G 1 Reply Last reply
      0
      • L Lost User

        Gary Wheeler wrote:

        Have you ever created a non-trivial WPF document?

        Yes

        Gary Wheeler wrote:

        It's a tremendous memory hog,

        Is it? I can't say I'd noticed - the WPF app I work on is a memory hog much worse in so many other ways, any WPF overhead is trivial by comparison!

        Gary Wheeler wrote:

        leaks like a sieve.

        Interesting - I've been doing some work on fixing memory leaks in our app - none (so far!) has been due to WPF

        Gary Wheeler wrote:

        The gains from using WPF documents (data binding et al) aren't worth the costs.

        with the possible exception of the fact that the OP is using WPF so may well have excellent WPF skills, existing forms and data binding that may suffice for his reporting requirements with perhaps a little tweaking. Personally I'm a fan of exporting data to excel for reporting - let the report users tweak the raw data how they want - and provide templates if necessary HTML is fine for the pretties, but rubbish if users want to play with the data

        PooperPig - Coming Soon

        G Offline
        G Offline
        Gary Wheeler
        wrote on last edited by
        #36

        My reporting class serves two purposes. One, I display the generated HTML in a browser control inside the app. Two, the HTML/XML can be written to a file and used elsewhere. The best example is our 'diagnostic report'. Instead of playing 20 Questions with a customer (or our field service folks), we have them send us a diagnostic report. It takes one click to generate. It's about 5-10MB of HTML that dumps application and Windows information.

        _Maxxx_ wrote:

        Personally I'm a fan of exporting data to excel for reporting - let the report users tweak the raw data how they want - and provide templates if necessary

        I'd use that method if I could, but it's beyond the skill set (or interest) for my customers.

        Software Zen: delete this;

        1 Reply Last reply
        0
        • K Kevin Marois

          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

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #37

          I use SQL Reporting and the Perpetuum Silverlight Report Viewer. I'm very pleased with the results.

          1 Reply Last reply
          0
          • K Kevin Marois

            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

            K Offline
            K Offline
            Kirk 10389821
            wrote on last edited by
            #38

            Fast-Report[^] Used it for Delphi years ago. Still works. In fact, just built about 10 reports with it. Available for .Net Solid design, as I am able to run X reports, and collect each report separately into one final result (for preview and/or printing), and with some effort, you can get the page numbering (x of y) to be correct in either mode (each report starts a page 1 of Yn, or each report picks up where the other left off). And the report "file" (.frp) is actually XML. I was able to tweak this outside of the report generator just fine. One other great feature: find text works in the preview! HTH, Kirk Out!

            1 Reply Last reply
            0
            • G Gary Wheeler

              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;

              C Offline
              C Offline
              Chris Maunder
              wrote on last edited by
              #39

              Show me someone who doesn't have code maintained this way and I'll show you someone new to the game or a liar. For the sake of a little extra straw and newspapers it saves a rewrite.

              cheers Chris Maunder

              G 1 Reply Last reply
              0
              • C Chris Maunder

                Show me someone who doesn't have code maintained this way and I'll show you someone new to the game or a liar. For the sake of a little extra straw and newspapers it saves a rewrite.

                cheers Chris Maunder

                G Offline
                G Offline
                Gary Wheeler
                wrote on last edited by
                #40

                Yeah, I know. I have a group of C++/MFC applications still being maintained using Visual Studio 2003.NET, because the Pointy-Haired Boss types don't want to spend the resources to do regression testing after we upgrade to a more recent tool set. Like Visual Studio 2008 :-O, which is what use for our current products.

                Software Zen: delete this;

                1 Reply Last reply
                0
                • K Kevin Marois

                  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

                  R Offline
                  R Offline
                  Roger165
                  wrote on last edited by
                  #41

                  Take a look at this reporting site. Have not tried it but looks interesting. http://www.next-reports.com/[^]

                  1 Reply Last reply
                  0
                  • G Gary Wheeler

                    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;

                    H Offline
                    H Offline
                    Herbie Mountjoy
                    wrote on last edited by
                    #42

                    So many choices. Html/css, xml/xslt, word templates and vbscript (or vba if you have an old version). Excel etc.. I use the Office api to generate Word docs in C#.

                    I may not last forever but the mess I leave behind certainly will.

                    1 Reply Last reply
                    0
                    • D Duncan Edwards Jones
                      1. Output data to Excel (use ClosedML from codeplex) 2) Tell users to go wild colouring in the resulting spreadsheet however they like
                      R Offline
                      R Offline
                      RASPeter
                      wrote on last edited by
                      #43

                      If you're generating a new report and don't need any extra formatting, you can just generate the basic xml. Much less painful than even ClosedML, and Excel will open it just fine.

                      1 Reply Last reply
                      0
                      • D Duncan Edwards Jones
                        1. Output data to Excel (use ClosedML from codeplex) 2) Tell users to go wild colouring in the resulting spreadsheet however they like
                        L Offline
                        L Offline
                        L Spoelders
                        wrote on last edited by
                        #44

                        Excel is what we do now for reporting. Very flexible for the user who has to work with it. We've used Crystal Reports in the past; it's really no good anymore!

                        1 Reply Last reply
                        0
                        • R Roger Wright

                          Kevin Marois wrote:

                          Crysal Report....20 years ago they were great. $hit now.

                          No, they were $hit then, too.

                          Will Rogers never met me.

                          L Offline
                          L Offline
                          L Spoelders
                          wrote on last edited by
                          #45

                          I agree!

                          1 Reply Last reply
                          0
                          • K Kevin Marois

                            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

                            R Offline
                            R Offline
                            Robert Neal
                            wrote on last edited by
                            #46

                            I have looked at a number of report writers for simple reporting needs. I have been using the Windows Forms Report Viewer Control 2012. This is a local version of SSRS with less features but adequate. The Report Viewer in VS2013 is the same as SSRS with some special new controls. I would recommend the control for simple reports. There is also a web version of the control.

                            Robert Neal

                            1 Reply Last reply
                            0
                            • K Kevin Marois

                              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

                              U Offline
                              U Offline
                              User 11283716
                              wrote on last edited by
                              #47

                              I'm coming in late on this discussion, but I was wondering if you looked at all at Windward? www.windward.net. Designer sits in MS office, so document formatting is as simple as using the office tools. Wizards connect to one or more data sources.

                              1 Reply Last reply
                              0
                              Reply
                              • Reply as topic
                              Log in to reply
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes


                              • Login

                              • Don't have an account? Register

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Categories
                              • Recent
                              • Tags
                              • Popular
                              • World
                              • Users
                              • Groups