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. Web Development
  3. ASP.NET
  4. Unable To Export Sub-report Data In Excel Format????

Unable To Export Sub-report Data In Excel Format????

Scheduled Pinned Locked Moved ASP.NET
question
5 Posts 3 Posters 0 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.
  • R Offline
    R Offline
    Rameez Raja
    wrote on last edited by
    #1

    Hi all, I am using 'Report Viewer Control ' in my project. I am using sub-reports in many cases. Whenever I export such reports containing sub-reports to 'Excel' format which is the major client requirement in our project, the exported excel file shows 'Subreports within table/matrix cells are ignored.' Can anybody tell me the solution for this? If not possible in reporting service then is there any other way to get data in excel format? Thanks.

    S S 2 Replies Last reply
    0
    • R Rameez Raja

      Hi all, I am using 'Report Viewer Control ' in my project. I am using sub-reports in many cases. Whenever I export such reports containing sub-reports to 'Excel' format which is the major client requirement in our project, the exported excel file shows 'Subreports within table/matrix cells are ignored.' Can anybody tell me the solution for this? If not possible in reporting service then is there any other way to get data in excel format? Thanks.

      S Offline
      S Offline
      sharad Pyakurel
      wrote on last edited by
      #2

      Use ExcelRecord instead in Excel. i.e. ExportFormatType.ExcelRecord for eg: ReportDocument.ExportToHttpResponse(ExportFormatType.ExcelRecord, Response, true, "Report");

      1 Reply Last reply
      0
      • R Rameez Raja

        Hi all, I am using 'Report Viewer Control ' in my project. I am using sub-reports in many cases. Whenever I export such reports containing sub-reports to 'Excel' format which is the major client requirement in our project, the exported excel file shows 'Subreports within table/matrix cells are ignored.' Can anybody tell me the solution for this? If not possible in reporting service then is there any other way to get data in excel format? Thanks.

        S Offline
        S Offline
        Sandeep Mewara
        wrote on last edited by
        #3

        Till SSRS 2005: This is a known limitation in the excel rendering. The problem occurs when subreports and/or any data regions are nested in table/matrix. Microsoft I mean SSRS doesn’t support exporting these to Excel format. Other way to get it done is: Embed the sub report within a rectangle rather than within a table. It will export ok. P.S.: SSRS 2008 (shipped as part of SQL Server 2008) provides a full solution to this, since it has a new engine and rendering extensions. Excel rendering will now always render subreports contents.

        R 1 Reply Last reply
        0
        • S Sandeep Mewara

          Till SSRS 2005: This is a known limitation in the excel rendering. The problem occurs when subreports and/or any data regions are nested in table/matrix. Microsoft I mean SSRS doesn’t support exporting these to Excel format. Other way to get it done is: Embed the sub report within a rectangle rather than within a table. It will export ok. P.S.: SSRS 2008 (shipped as part of SQL Server 2008) provides a full solution to this, since it has a new engine and rendering extensions. Excel rendering will now always render subreports contents.

          R Offline
          R Offline
          Rameez Raja
          wrote on last edited by
          #4

          Thanks for reply, ok iam placing the sub report into list control instead of Table then it works am i right? but in sub report Data is populating inside Matrix control then is it ok ?????/? Regards

          S 1 Reply Last reply
          0
          • R Rameez Raja

            Thanks for reply, ok iam placing the sub report into list control instead of Table then it works am i right? but in sub report Data is populating inside Matrix control then is it ok ?????/? Regards

            S Offline
            S Offline
            Sandeep Mewara
            wrote on last edited by
            #5

            Yes it should work. In SSRS 2005, subreports embedded in tables does not export properly in excel.

            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