cancel
Showing results for 
Search instead for 
Did you mean: 

CrystalReportViewer GroupTree issue

joe_mancini
Explorer
0 Kudos

I'm using VS2017 and Crystal 2016 to display a report on the web. I brought my code over from an older version of VS and Crystal. The problem I am having is with the GroupTree. The text "Group Tree" is appearing at the very top of the GroupTree on the left(See attached file).

This is my code below. Was working just fine with older version of VS and Crystal.

        <CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server"  
            AutoDataBind="True"  Height="1158px" 
            ToolPanelWidth="200px" Width="1059px" 
            HasDrillUpButton="False" HasExportButton="False" 
            HasToggleParameterPanelButton="False" PrintMode="ActiveX" 
            BorderStyle="Solid" 
            HasToggleGroupTreeButton="False" HasZoomFactorList="False"   />
        <CR:CrystalReportSource ID="CrystalReportSource1" runat="server">
            <Report FileName="J:\systems\CODE\VisualStudio\PhoneDirectory2017\PhoneDirectory\phonedirectory.rpt">
            </Report>
        </CR:CrystalReportSource>

capture.png

Accepted Solutions (1)

Accepted Solutions (1)

joe_mancini
Explorer
0 Kudos

Looks like I indirectly found the answer to my question. I'm having another issue where my Report is not displaying anything at all in the browser on the web server, and when I added the html code below, it fixed my original issue. Now if I can only figure out the display issue.

  <configSections>
    <sectionGroup name="businessObjects">
      <sectionGroup name="crystalReports">
        <section name="rptBuildProvider" type="CrystalDecisions.Shared.RptBuildProviderHandler, CrystalDecisions.Shared, Version=13.0.3500.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, Custom=null" />
        <section name="crystalReportViewer" type="System.Configuration.NameValueSectionHandler" />
      </sectionGroup>
    </sectionGroup>
  </configSections>


  <businessObjects>
    <crystalReports>
      <rptBuildProvider>
        <add embedRptInResource="true" />
      </rptBuildProvider>
      <crystalReportViewer>
        <add key="ResourceUri" value="/crystalreportviewers13" />
      </crystalReportViewer>
    </crystalReports>
  </businessObjects>

https://stackoverflow.com/questions/16172114/sap-crystal-reports-viewer-does-not-display-in-browser

Answers (0)